csmarton/webshop/master/web/.htaccess - Htaccess File

csmarton/webshop/master/web/.htaccess

<IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On

    # Explicitly disable rewriting for front controllers
    RewriteRule ^app_dev.php - [L]
    RewriteRule ^app.php - [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    # Change below before deploying to production
    #RewriteRule ^(.*)$ app.php [QSA,L]
    RewriteRule ^(.*)$ app_dev.php [QSA,L]
    #RewriteCond %{THE_REQUEST} ^(GET|HEAD) /web/
    #RewriteRule ^(.*)$ /$1 [L,R=301]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
GET, REQUEST_FILENAME, THE_REQUEST

Comments

Apache