crea-doo/ControlPanel/master/.htaccess - Htaccess File

crea-doo/ControlPanel/master/.htaccess

DirectoryIndex index.htm index.html index.php

ErrorDocument 401 /error401.php
ErrorDocument 403 /error403.php
ErrorDocument 404 /error404.php
ErrorDocument 500 /error500.php

<Files log.txt>
  Order Deny,Allow
  Deny from all
</Files>

RewriteEngine On
RewriteBase /

#RewriteCond %{HTTPS} off
#RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteRule .* - [E=Authorization:%{HTTP:Authorization}]
RewriteRule .* - [E=AUTHORIZATION:%{HTTP:AUTHORIZATION}]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule .* - [E=REDIRECT_HTTP_AUTHORIZATION:%{HTTP:REDIRECT_HTTP_AUTHORIZATION}]

#RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI}   !^/templates/standard/.*
RewriteRule ^(.*) /templates/standard%{REQUEST_URI} [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI

Comments

Apache