url重定向 域名跳转

httpd.ini



[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP


# Rewrite 地方门户系统规则请勿修改
RewriteRule ^(.*)-htm-(.*)$ $1\.php\?Rurl=$2

RewriteCond Host: ^ai9475\.net$
RewriteRule (.*) http\://www\.ai9475\.cn$1 [R,I]

RewriteCond Host: ^www\.ai9475\.net$
RewriteRule (.*) http\://www\.ai9475\.cn$1 [R,I]

RewriteCond Host: ^ai9475\.cn$
RewriteRule (.*) http\://www\.ai9475\.cn$1 [R,I]

猜你喜欢

转载自sinykk.iteye.com/blog/1941736