Ask how to convert htaccess rules into httpd. ini rules

Source: Internet
Author: User
Tags opencart
How can I convert the htaccess rule to httpd. I use opencart programs for ini rules. now I want to do pseudo-static. my server is a windows Server and I use ISAPI_Rewrite for pseudo-static execution, however, I copied the following rules to http. after ini, the website link is incorrect and cannot be opened. May someone know how to convert it to httpd. I? how can I convert the htaccess rule to the httpd. ini rule?
I am using an opencart program. now I want to do pseudo-static. my server is a windows Server and ISAPI_Rewrite is used for pseudo-static execution. However, I copied the following rules to http. after ini, the website link is incorrect and cannot be opened. Does anyone know how to convert it to httpd. ini rules? Thank you!

RewriteBase/
RewriteCond % {REQUEST_FILENAME }! -F
RewriteCond % {REQUEST_FILENAME }! -D
RewriteRule ^ (.*)\? * $ Index. php? _ Route _ = $1 [L, QSA]

------ Solution --------------------
Http://www.zzxj.net/blog/fxs_2008/archive/2009/01/20/11.html

Http://www.zzxj.net/blog/fxs_2008/archive/2009/01/18/1.html

Refer
------ Solution --------------------
Special characters in apache can be escaped, but special characters in ISAPI_Rewrite must be escaped.
For example, (only characters, not regular expressions are escaped ):
Apache:
RewriteRule ^ (. *)-tmp-(. *) $ 1.php? $2
ISAPI_Rewrite:
RewriteRule ^ (. *)-tmp-(. *) $1 \. php \? $2

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.