Skip to content

Instantly share code, notes, and snippets.

@jorgeacaballero
Created March 2, 2014 21:48
Show Gist options
  • Save jorgeacaballero/9314505 to your computer and use it in GitHub Desktop.
Save jorgeacaballero/9314505 to your computer and use it in GitHub Desktop.
Error de Configuración de Apache

Para arreglar el error de apache con las rutas ir a:

sudo vim /etc/apache2/sites-available/default

aparecera este documento:

<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/vagrant/pymeSolutionsDev/public
        <Directory />
                Options FollowSymLinks
                AllowOverride Deny
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride Deny
                Order allow,deny
                allow from all
        </Directory>

...
...

Cambiar los primeros AllowOveride a All, deberia quedar asi:

<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/vagrant/pymeSolutionsDev/public
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
...
...

Salvar y salir

reiniciar Apache sudo service apache2 restart

Listo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment