altbdoor/kusaba-helma/helmabase/cgi-bin/.htaccess - Htaccess File

altbdoor/kusaba-helma/helmabase/cgi-bin/.htaccess

DirectoryIndex wakaba.html index.html
Options +ExecCGI
AddHandler cgi-handler .pl

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

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

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

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

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

On Github License

Files

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

Comments

Apache