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/页面名的东西