• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

大跌眼镜哉,,htacess怎么重写都无效

php 搞代码 4年前 (2022-01-23) 10次浏览 已收录 0个评论
文章目录[隐藏]

http.ini的没问题,

[ISAPI_Rewrite]# 3600 = 1 hourCacheClockRate 3600RepeatLimit 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|a<i>本文@来#源gaodai$ma#com搞$$代**码网</i><strong>搞代gaodaima码</strong>dmin|Vote|Message|Favor).*)$ /m/index\.php/$1 [L]

试过很多的组合了,就是不成功~
我觉得可能是空间问题啊~~
找原因

回复讨论(解决方案)

SAPI_Rewrite3.1 教程

SAPI_Rewrite3.1 教程
版主老大,帮我搞搞吧,我把ftp信息给你,令人实在费解。不能发私信,求关注。

我也正为这个问题发愁呢

谁帮我来搞搞,我把ftp信息给他~


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:大跌眼镜哉,,htacess怎么重写都无效
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址