ijoey/6d/master/data/.htaccess - Htaccess File

ijoey/6d/master/data/.htaccess

Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /6d

RewriteCond %{HTTPS} on
RewriteBase /6d

ErrorDocument 404 index.php
RewriteRule ^$ index.php [QSA]

#file_check_start
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