codex8/website-1/master/.htaccess - Htaccess File

codex8/website-1/master/.htaccess

Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /joeyguerra

RewriteCond %{HTTPS} on
RewriteBase /joeyguerra
ErrorDocument 404 index.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^$ index.php [QSA]
# block access to sqlite data file
RewriteRule .sqlite notfound [QSA,L]
#file_check_start
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?r=$1 [QSA,L]
#file_check_end
# This block is required to do HTTP digest authentication in environments where PHP is executed
# as a CGI.
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=PHP_AUTH_DIGEST:%{HTTP:Authorization},L]
# for maintenance.
#DirectoryIndex maintenance.php
#RewriteRule ^$ maintenance.php [QSA]
#DirectoryIndex index.php
#RewriteRule ^/?([a-zA-Z0-9/.^?^&]+)/?$ maintenance.php [QSA,L]

On Github License

Files

Download PDF of Htaccess file
HTTPS, REQUEST_FILENAME

Comments

Apache