drinckes/pluscodes/master/.htaccess - Htaccess File

drinckes/pluscodes/master/.htaccess

# Turn on the rewriting engine
RewriteEngine On

RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

# Rewrite URLs that start with +<OLC code> or <OLC 6 digits>+ to index.html
RewriteRule (^+|^........+) index.html [NC,L,NE]

# Turn on compression.
AddOutputFilterByType DEFLATE text/html text/plain text/css application/javascript application/x-javascript

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_URI, SERVER_NAME, SERVER_PORT

Comments

Apache