Big surprise,,, htacess How to rewrite all invalid ~ ~
Http.ini, no problem.
[Isapi_rewrite]
# 3600 = 1 hour
Cacheclockrate 3600
Repeatlimit 32
# Protect Httpd.ini and Httpd.parse.errors files
# from accessing through HTTP
# Duoduo Rewrite rules
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]
Because the Western Digital host is very expensive 240 yuan, so change space, instead of 70 Yuan Linux host
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]
Tried a lot of combinations, is not successful ~
I think it might be a space problem.
Find out why
------Solution--------------------
sapi_rewrite3.1 Tutorials