skat-delayed/projectTemplate/master/res/.htaccess - Htaccess File

skat-delayed/projectTemplate/master/res/.htaccess

<IfModule mod_fcgid.c>
   AddHandler fcgid-script .fcgi
   <Files ~ (.fcgi)>
       SetHandler fcgid-script
       Options +FollowSymLinks +ExecCGI
   </Files>
</IfModule>
#enable gzip
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript application/x-javascript 

# http://httpd.apache.org/docs/2.2/rewrite/

<IfModule mod_rewrite.c>
   Options +FollowSymlinks
   RewriteEngine On
   RewriteBase /
# Redirect all http connections to https
   RewriteCond %{HTTPS} !=on
   RewriteCond %{ENV:HTTPS} !=on
   RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
# Redirect index to fcgi script
   RewriteRule (^$|^/$) web.fcgi [L]
# rewrite url to hide web.fcgi
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ web.fcgi/$1 [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, ENV, HTTPS, REQUEST_FILENAME, REQUEST_URI, SERVER_NAME

Comments

Apache