f2d/doodle-mutator/master/board/.htaccess - Htaccess File

f2d/doodle-mutator/master/board/.htaccess

# If you change this, remember to change the RewriteRule entry further down, too!
AddCharset utf-8 html

<Files *.txt>
  Deny from all
</Files>

<Files config.pl>
  Deny from all
</Files>

<IfModule alias_module>
  RedirectMatch 403 /(_bak|extras|include)/
  RedirectMatch 302 (^[^?]*/)(res|thumb|src)[/.]*$ $1
</IfModule>

<IfModule headers_module>
  <Files *.html>
    Header set Expires "Mon, 26 Jul 1997 05:00:00 GMT"
    Header set Pragma "no-cache"
    Header set Cache-Control "max-age=0; must-revalidate; no-cache"
    Header unset Vary
  </Files>
</IfModule>

<IfModule rewrite_module>
  RewriteEngine On
  RewriteCond %{HTTP_ACCEPT} application/xhtml+xml
  RewriteRule .html$ - [T=application/xhtml+xml;charset=utf-8]
</IfModule>

<IfModule dir_module>
  DirectoryIndex index.html kareha.pl
</IfModule>

Options +ExecCGI
AddHandler cgi-script cgi pl

On Github License

Files

Download PDF of Htaccess file
HTTP_ACCEPT, no-cache, Pragma

Comments

Apache