大跌眼镜哉,,htacess怎么重写都无效~~
http.ini的没问题,
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and s files
# from accessing through HTTP
# duoduo Rewrite规则
RewriteCond Host: (.*)stu80$
RewriteRule (.*) http://www.youyax [R,I]
RewriteCond Host: ^www.stu80$
RewriteRule (.*) http://www.youyax [R,I]
RewriteCond Host: ^youyax$
RewriteRule (.*) http://www.youyax [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 [NC]
#rewriteRule ^(.*)$ www.youyax/$1 [R=301,L]
#rewriteCond %{http_host} ^youyax [NC]
#rewriteRule ^(.*)$ www.youyax/$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 教程
本文发布于:2024-01-30 04:04:20,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170655866219077.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |