Htaccess File

Andrew67/ddr-finder/master/web/.htaccess

DEFLATE, HTTPS, SERVER_NAME
Options -Indexes

# http://wiki.apache.org/httpd/RewriteHTTPToHTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

# http://wiki.dreamhost.com/Htaccess_tricks#Faster_page_loading
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript application/json image/svg+xml
</ifmodule>
Exit mobile version