raksmart活动促销

分享

写回答

发帖

[提问] 如何设置绑定独立ip下的文件夹?

回答|共 13 个

chinapc

发表于 2010-4-3 11:12:41 | 显示全部楼层

现在只是保留了
Rewriteengine on
   
RewriteCond %{REQUEST_URI} !^/bbs/.*
RewriteCond %{HTTP_HOST} =bbs.woshuoba.com
RewriteRule ^(.*) /bbs/$1 [L]

其他都没有了,但是出现了


404 Error - Not Found
The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:

•You have used the proper case; requests ARE case-sensitive!
•You have entered the URL correctly. (i.e. proper directory/filename)
•You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
•You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
•The user/file still exists on this server.

gypworks526

发表于 2010-4-3 11:26:48 | 显示全部楼层

我感觉你的站,除了首页可以访问,点上面的链接都是404以上错误

chinapc

发表于 2010-4-3 11:35:25 | 显示全部楼层

啊!怎么能这样?
我刚才把这一段删了之后

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

就出现只能访问主页不能访问其他页面了~~~郁闷~
但是bbs.woshuoba.com却可以访问了~~~
加上以上代码又不行了,难道有冲突?

gypworks526

发表于 2010-4-3 11:51:54 | 显示全部楼层

这个是不是因为冲突造成的,我也不清楚。
但是有的把这样的规则放在一起,确实不可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则