您好,欢迎访问一九零五行业门户网

大跌眼镜哉,htacess如何重写都无效~

大跌眼镜哉,,htacess怎么重写都无效~~
http.ini的没问题,
[isapi_rewrite]
# 3600 = 1 hour
cacheclockrate 3600
repeatlimit 32
# protect httpd.ini and httpd.parse.errors files
# from accessing through http
# duoduo rewrite规则
rewritecond host: (.*)stu80\.com$
rewriterule (.*) http\://www\.youyax\.com [r,i]
rewritecond host: ^www\.stu80\.com$
rewriterule (.*) http\://www\.youyax\.com [r,i]
rewritecond host: ^youyax\.com$
rewriterule (.*) http\://www\.youyax\.com [r,i]
rewriterule ^/forum/((index|list|content|admin|vote|message|favor).*)$ /forum/index\.php/$1 [l]
rewriterule ^/m/((index|list|content|admin|vote|message|favor).*)$ /m/index\.php/$1 [l]
由于西部数码的主机很贵240元,所以换空间了,改用70元的linux主机
rewriteengine on
#rewritecond %{http_host} ^stu80\.com [nc]
#rewriterule ^(.*)$ http://www\.youyax\.com/$1 [r=301,l]
#rewritecond %{http_host} ^youyax\.com [nc]
#rewriterule ^(.*)$ http://www\.youyax\.com/$1 [r=301,l]
rewriterule forum/((index|list|content|admin|vote|message|favor).*)$ /forum/index.php/$1
#rewriterule ^/m/((index|list|content|admin|vote|message|favor).*)$ /m/index\.php/$1 [l]
试过很多的组合了,就是不成功~
我觉得可能是空间问题啊~~
找原因
------解决方案--------------------
sapi_rewrite3.1 教程
其它类似信息

推荐信息