iclemens/budget/master/www/.htaccess - Htaccess File

iclemens/budget/master/www/.htaccess

RewriteEngine On

AuthType Basic
AuthName "Budget Application"
AuthUserFile /home/ivarclemens/applications/budget/www/.htpasswd
Require valid-user

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME) -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteRule ^(.*)$ index.php [NC,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache