From 71f38264a4a830fc8c1cc222e7e492d3edbc0db4 Mon Sep 17 00:00:00 2001 From: makoto kuwata Date: Mon, 21 Mar 2011 07:33:40 +0900 Subject: [change] 'public/_htaccess' to work on Sakura Internet Inernet --- public_html/_htaccess | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public_html/_htaccess b/public_html/_htaccess index 1eec816..e00ccf3 100644 --- a/public_html/_htaccess +++ b/public_html/_htaccess @@ -1,8 +1,10 @@ ## enable mod_rewrie RewriteEngine on ## deny access to *.rhtml and *.cache -RewriteRule \.(rhtml|cache)$ - [R=404,L] +#RewriteRule \.(rhtml|cache)$ - [R=404,L] # not work on sakura internet +RewriteRule \.(rhtml|cache)$ - [F,L] ## rewrite only if requested file is not found RewriteCond %{SCRIPT_FILENAME} !-f ## handle request to *.html and directories by index.cgi -RewriteRule (\.html|/|^)$ /~username/index.cgi +#RewriteRule (\.html|/|^)$ /~username/index.cgi +RewriteRule (\.html|/|^)$ index.cgi -- cgit v1.2.1