The rewrite statement is invalid when it is moved from apache to IIS. for example, I have a rewrite statement to rewrite all requests to the index. php: Everything works normally in the apache space. in the IIS6 + isapi_rewrite3.0 environment, it cannot be run. it should be because different rules of the environment have changed. there is only one sentence. please switch between them... The rewrite statement is invalid when it is moved from apache to IIS.
For example, I have a rewrite statement to rewrite all requests to the index. php: Everything works normally in the apache space. in the IIS6 + isapi_rewrite3.0 environment, it cannot be run. it should be because different rules of the environment have changed. there is only one sentence. please switch between them ......
RewriteRule. index. php
------ Solution --------------------
Reference:
Reference: reference: seek further guidance ...... Continue to ask. few people will use iis, and apache and nginx are the world of php.
I know ...... But there is a need ......
Iis is the dll of isapi_rewrite3 ......
If you have configured IIS rewrite. You can use the following code
Httpd. iniMedium
[ISAPI_Rewrite]
#3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# ThreadPost. php
RewriteRule ^ (. +) $ index \. php $1 [L]