kafoso/dplan/master/.htaccess - Htaccess File

kafoso/dplan/master/.htaccess

Options +FollowSymlinks -Indexes -MultiViews

SetEnv MAINTENANCE_MODE 0

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%2://dplan.dk%{REQUEST_URI} [L,R=301]

# "/overblik" has its own htaccess
RewriteCond %{REQUEST_URI} ^/overblik [NC]
RewriteRule ^(.*)$ $1 [L]

# Forward to "public" folder
RewriteCond %{REQUEST_URI} !^/public
RewriteRule ^(.*)$ public/$1?%{QUERY_STRING} [QSA,L]

On Github License

Files

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

Comments

Apache