日期:2014-05-17 浏览次数:20419 次
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 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]
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]