首页 新闻 会员 周边

关于ISAPI_REWRITE二级域名转向的问题

0
悬赏园豆:100 [已关闭问题]

http.ini配置如下

[ISAPI_Rewrite]

# 3600 = 1 hour
#CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files from accessing through HTTP
RewriteRule ^/httpd(?:\.ini|\.parse\.errors).* [F,I,O]
# Protect *.inc,*.mdb files
RewriteRule .*(?:\.inc|\.mdb) [F,I,O]

RewriteCond User-Agent: .*google.*|.*baidu.*|.*yahoo.*|.*sougou.*|.*iask.*|.*soso.*|.*yodao.*|.*youdao.*
RewriteCond Host: (?:www)\.lxbao\.org   
RewriteRule (.*) $1 [L]

RewriteCond Host:  (caff)\.lxbao\.org
RewriteRule ^/(.*)   /university/$1  [I,L]

 

 

但是现在我用http://caff.lxbao.org 没法访问,请高手指点一下,帮我配置一下

我现在想的是用http://caff.lxbao.org/页面名

访问到的东西是 

http://www.lxbao.org/university/页面名的东西

Brids的主页 Brids | 初学一级 | 园豆:10
提问于:2010-08-09 10:48
< >
分享
其他回答(1)
0

二级域名:
RewriteCond Host: (?!/.|www|ww)(.*).rewriter.com
RewriteRule (.*) http/://www.rewriter.com/$1$2 [I,R]

Astar | 园豆:40805 (高人七级) | 2010-08-09 11:12
0

RewriteCond Host:(\b(?!www)\caff)\.lxbao\.org

jowo | 园豆:2834 (老鸟四级) | 2010-08-09 14:02
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册