JonathanMoreau/YouFood/master/web/.htaccess - Htaccess File

JonathanMoreau/YouFood/master/web/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On

    ## sub domain settings ##
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{HTTP_HOST} ^www.*
    RewriteRule ^(.*)$ /app.php [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{HTTP_HOST} ^dev.*
    RewriteRule ^(.*)$ /app_dev.php [QSA,L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache