Stunned, how to rewrite htacess is ineffective ~~ Http. no problem with ini, [ISAPI_Rewrite] # & nbsp; 3600 & nbsp; = & nbsp; 1 & nbsp; hourCacheClockRate & nbsp; 3600 RepeatLimit & nbsp; stunned ,, how to rewrite htacess is invalid ~~
Http. ini is okay,
[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 I changed the 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]
I have tried many combinations, but it is unsuccessful ~
I think it may be a space problem ~~
Find the reason
------ Solution --------------------
SAPI_Rewrite3.1 tutorial