martinkulich/Budget/master/web/.htaccess - Htaccess File

martinkulich/Budget/master/web/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On

    Redirect 301 /redlight-hotelhenry/web/index http://localhost/redlight-hotelhenry/web/
    Redirect 301 /redlight-hotelhenry/web/index.html http://localhost/redlight-hotelhenry/web/

    RewriteCond %{REQUEST_URI} /admin
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]

    RewriteCond %{REQUEST_URI} /rest
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]

    RewriteCond %{REQUEST_URI} /ajax
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]

    RewriteCond %{REQUEST_URI} /data/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache