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


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

<Files *.txt>
  Deny from all

<Files config.pl>
  Deny from all

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

<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

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

<IfModule dir_module>
  DirectoryIndex index.html kareha.pl

Options +ExecCGI
AddHandler cgi-script cgi pl

On Github License


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