devassistant/dapi/devel/wsgi/.htaccess - Htaccess File

devassistant/dapi/devel/wsgi/.htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} ^dapi-devassistant.rhcloud.com
RewriteRule ^(.*)$ https://dapi.devassistant.org/ [R=301,L]

RewriteRule ^application/download/(.+)$ /static/download/$1 [L]
RewriteRule ^application/api/meta.txt$ /static/download/meta.txt [L]

RewriteCond %{HTTP:X-Forwarded-Proto} !https 
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Header set Strict-Transport-Security "max-age=15768000"

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_URI, static, X-Forwarded-Proto

Comments

Apache