Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Configuração do vhost para Apache

William G. Comnisky edited this page Feb 23, 2014 · 1 revision
<VirtualHost *:80>
    ServerName phpsc-conf

    DocumentRoot /home/william/dev/www/phpsc-conf/public/

    <Directory /home/william/dev/www/phpsc-conf/public/>
        # enable the .htaccess rewrites
        AllowOverride All
	Require all granted
    </Directory>

    ErrorLog /var/log/apache2/phpsc-conf_error.log
    CustomLog /var/log/apache2/phpsc-conf_access.log combined
</VirtualHost>

Substitua o path /home/william/dev/www pelo path correspondente no seu ambiente.

Não esqueça de adicionar a entrada phpsc-conf no arquivo /etc/hosts da sua máquina.

Clone this wiki locally