我的规则:
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.75RewriteEngine ONRewriteCond %{HTTP_HOST} ^(www\.dazhongcai\.com)$
RewriteRule ^/?(.*) /aa/$1
意思就是将www.dazhongcai.com网站都读取aa文件夹里的文件。
http://www.dazhongcai.com/two/ 伪静态成功,正常运行/aa/two/index.html页面http://www.dazhongcai.com/two 这样就不行了,自动301跳到"http://www.dazhongcai.com/aa/two/"目录下,为何啊???怎么会跳到真实目录里???
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.75RewriteEngine ONRewriteCond %{HTTP_HOST} ^(www\.dazhongcai\.com)$
RewriteRule ^/?(.*) /aa/$1
意思就是将www.dazhongcai.com网站都读取aa文件夹里的文件。
http://www.dazhongcai.com/two/ 伪静态成功,正常运行/aa/two/index.html页面http://www.dazhongcai.com/two 这样就不行了,自动301跳到"http://www.dazhongcai.com/aa/two/"目录下,为何啊???怎么会跳到真实目录里???
RewriteEngine ONRewriteCond %{HTTP_HOST} ^(www\.dazhongcai\.com)$
RewriteRule ^/?(.*) aa/$1
RewriteRule ^/([a-zA-Z0-9]+)(?:/(.*))?$ /aa/$1/$2
RewriteRule ^/([^/]+)(?:/(.*))?$ /aa/$1/$2
谁有特殊符号就改成这样? 要事先判断吗?
http://search.360buy.com/Search?keyword=金戒指&psort=2&ev=&page=3
这种的好像就判断不了?
这样中文就ok了