Home > Backend Development > PHP Tutorial > 大跌眼镜哉,,htacess怎么重写都无效

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

WBOY
Release: 2016-06-23 14:05:49
Original
918 people have browsed it

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]
Copy after login


由于西部数码的主机很贵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]
Copy after login


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


回复讨论(解决方案)

SAPI_Rewrite3.1 教程

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

我也正为这个问题发愁呢

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template