пятница, 1 июля 2016 г.

working Apache2.4 virtualhost with Symfony2.8

dont forget to add to /etc/hosts with 127.0.0.1 project.dev;
Include "C:/wamp64/alias/*"
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot "c:/wamp64/www"
    ServerName localhost
    ErrorLog "logs/localhost-error.log"
    CustomLog "logs/localhost-access.log" common
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot "e:/Coding/php/symfony/project/web"
    ServerName project.dev
    <directory "e:/Coding/php/symfony/project/web">
        Options Indexes FollowSymLinks
        AllowOverride All
Allow from all
Require local
    </directory>
ErrorLog "C:/wamp64/logs/apache_error2.log"
    CustomLog "C:/wamp64/logs/apache_error-custom.log" combined
</VirtualHost>

Комментариев нет:

Отправить комментарий