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!
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
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.