Stunned, how to rewrite htacess is ineffective

Source: Internet
Author: User
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 ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.