Back up IIS httpd. ini Rewrite Rules, compatible with most versions of IIS servers, iishttpd. ini

Source: Internet
Author: User

Back up IIS httpd. ini Rewrite Rules, compatible with most versions of IIS servers, iishttpd. ini

There are very few IIS servers and they are almost out of the market. Nginx has become the mainstream market.

Back up an httpd. ini file with the following content:

[ISAPI_Rewrite] #3600 = 1 hourCacheClockRate 3600 RepeatLimit 32 # RewriteCond Host :! ^ Job \. zbphp \. com $ # RewriteRule ^ (. *) $ http \: // job \. zbphp \. com $1 [I, R] RewriteRule ^/public/([a-z0-9] {32 })\. html $/detail \. php \? Md5 = $1 RewriteRule ^/so ([a-z] +) _ ([^ \/] + )/? $/Search \. php \? Rewritefn = $1 & $1 = $2 & page = $3 RewriteRule ^/so ([a-z] +) _ ([^ \/] +) /([0-9] + )\. html $/search \. php \? Rewritefn = $1 & $1 = $2 & page = $3 # IIS ErrorDocumentRewriteRule ^/([0-9] {3 })\. (php | asp | htm | html) $/error \. php \? E = $1




How can I convert httpdini pseudo-static rules under IIS using htaccess rules?

Go to a professional forum.

For example, Baidu Post

Or a computer home

How do I set up pseudo-static state when installing the aitao client system on an independent server? I use IIS + WIN2003 and how does httpdini set rules?

This should be related to the Rewrite component not enabled!
You can write the simplest one first to see if Rewrite can be used.

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.