aleanalisis/aac/master/.htaccess - Htaccess File

aleanalisis/aac/master/.htaccess

<IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On
    #RewriteCond %{HTTP_HOST} ^aacvalencia.es$ [NC,OR]
    #RewriteCond %{HTTP_HOST} ^www.aacvalencia.es$
    RewriteCond %{REQUEST_URI} !^/web/.*$
    RewriteRule ^(.*)$ /web/$1 [QSA,L]
    # Explicitly disable rewriting for front controllers
    #RewriteRule ^app_dev.php - [L]
    RewriteRule ^web/app.php - [L]
 
    RewriteCond %{REQUEST_FILENAME} !-f
 
    # Change below before deploying to production
    #RewriteRule ^(.*)$ /app.php [QSA,L]
    RewriteRule ^(.*)$ /web/app.php [QSA,L]
    #ErrorDocument 500 http://www.aacvalencia.es/500.html
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache