summaryrefslogtreecommitdiff
path: root/public_html/_htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'public_html/_htaccess')
-rw-r--r--public_html/_htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/public_html/_htaccess b/public_html/_htaccess
index 99a215c..1eec816 100644
--- a/public_html/_htaccess
+++ b/public_html/_htaccess
@@ -4,5 +4,5 @@ RewriteEngine on
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
+## handle request to *.html and directories by index.cgi
+RewriteRule (\.html|/|^)$ /~username/index.cgi