rodrigojcmello
8/24/2016 - 5:44 PM

apache2-virtual-hosting.conf

<VirtualHost *:80>

        ServerAdmin seu_email@email.com.br
        DocumentRoot /var/www/html/diretorio_do_projeto

        ServerName  nome_do_projeto.local
        ServerAlias  www.nome_do_projeto.local

        <Directory /var/www/html/lemos>
                AllowOverride all
                Options Indexes FollowSymLinks MultiViews
                Order allow,deny
                Allow from all
                Require all granted
        </Directory>
        # ou
        <Directory /var/www/html/diretorio_do_projeto>
                # Options FollowSymLinks
                # AllowOverride None
                # Require all denied
                Options Indexes FollowSymLinks Includes ExecCGI MultiViews
                AllowOverride All
                Require all granted
        </Directory>


        ErrorLog ${APACHE_LOG_DIR}/evsdesucesso-error.log
        CustomLog ${APACHE_LOG_DIR}/evsdesucesso-access.log combined

</VirtualHost>