chances/runaway/master/.htaccess - Htaccess File

chances/runaway/master/.htaccess

Options +ExecCGI
AddHandler cgi-script .script

<FilesMatch .script$>
    SetEnv no-gzip 1
</FilesMatch>

<IfModule mod_expires.c>
  ExpiresActive On
  <FilesMatch ".((htm|html)|txt)$">
    ExpiresDefault A1
    Header append Cache-Control must-revalidate
  </FilesMatch>
  <FilesMatch "runaway.(js|css)$">
    ExpiresDefault A1
    Header append Cache-Control must-revalidate
  </FilesMatch>
  <FilesMatch "(?i)^.*.(jpg|jpeg|png|gif)$">
    ExpiresDefault "access plus 1 year"
  </FilesMatch>
</IfModule> 

#Authenticated access only
AuthName "Restricted Area - Run Away"
AuthType Basic 
AuthUserFile /u/chances/.htpasswd 
AuthGroupFile /dev/null 
require valid-user

On Github License

Files

Download PDF of Htaccess file
no-gzip

Comments

Apache