<VirtualHost *:80>

    ServerName phillybyfoot.agilaz.com

    SetEnv APPLICATION_ENV "development"

    # When serving from the web-app public root
    DocumentRoot /var/www/phillybyfoot.agilaz.com/public

    # alias the public directory of the web app
    Alias /wstr /var/www/phillybyfoot.agilaz.com/public

    <Directory /var/www/phillybyfoot.agilaz.com/public>
        Require all granted
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

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

</VirtualHost>
