sudo a2enmod rewrite
sudo nano /etc/apache2/sites-available/default
Cambiar en public_html “AllowOverride None” por “AllowOverride All”
<VirtualHost *:80>
ServerAdmin webmaster@localhost
RewriteEngine on
DocumentRoot /home/ariel/public_html/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/ariel/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
sudo service apache2 restart

3 comments
Excelente aporte!
Saludos.
Excelente Aporte, ya me había roto la cabeza buscando por todos lados la solución, hasta que encontré tu aporte, muchas gracias, muy preciso.
@Julian me alegro que te a haya servido y que puedas seguir avanzando en tus proyectos!
By submitting a comment you grant Ariel Acosta a perpetual license to reproduce your words and name/web site in attribution. Inappropriate and irrelevant comments will be removed at an admin’s discretion. Your email is used for verification purposes only, it will never be shared.