Stunned, how to rewrite htacess does not work with http. ini,
[ISAPI_Rewrite] #3600 = 1 hourCacheClockRate 3600 RepeatLimit 32 # Protect httpd. ini and httpd. parse. errors files # from accessing through HTTP # duoduo Rewrite rule 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
Reply to discussion (solution)
SAPI_Rewrite3.1 tutorial
SAPI_Rewrite3.1 tutorial
The moderator boss, help me with it. I will give you the ftp information, which is really confusing. You cannot send private messages. please follow them.
I am also worried about this problem.
Who will help me? I will give him the ftp information ~