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. Does anyone know how to convert it to httpd. ini rules? Thank you! RewriteBase & nbsp; how can I convert htaccess rules into httpd. ini rules?
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