Htaccess File

iclemens/budget/master/www/.htaccess

REQUEST_FILENAME, REQUEST_URI
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]
Exit mobile version