summaryrefslogtreecommitdiff
path: root/public_html/_htaccess
blob: 99a215cb0735b3b059bc93a30d7881a040869c23 (plain)
1
2
3
4
5
6
7
8
## enable mod_rewrie
RewriteEngine on
## deny access to *.rhtml and *.cache
RewriteRule \.(rhtml|cache)$ - [R=404,L]
## rewrite only if requested file is not found
RewriteCond %{SCRIPT_FILENAME} !-f
## handle request to *.html by index.cgi
RewriteRule ^.*\.html$ /~yourname/index.cgi