I'm installing Modx on windows with ISAPI Rewrite instead of apache with mod_rewrite?
我在Windows上使用ISAPI重写而不是使用mod_rewrite的apache安装Modx?
How do you define the rewrite rules? I'm guessing not with an .htccess file?
你如何定义重写规则?我猜不是用.htccess文件?
any Ideas? Thanks
有任何想法吗?谢谢
3 个解决方案
#1
According to the ISAPI_Rewrite 2 documentation you need to write the configuration into the httpd.ini
file into the [ISAPI_Rewrite]
section:
根据ISAPI_Rewrite 2文档,您需要将配置写入httpd.ini文件到[ISAPI_Rewrite]部分:
[ISAPI_Rewrite]
RewriteRule …
#2
Try with:
RewriteRule ^/$ /index.php?REQUEST_URI=index.php [L]
#3
The global config for ISAPI_Rewrite 3 is called httpd.conf, and per-site distributed configurations are .htaccess.
ISAPI_Rewrite 3的全局配置称为httpd.conf,每站点分布式配置为.htaccess。
#1
According to the ISAPI_Rewrite 2 documentation you need to write the configuration into the httpd.ini
file into the [ISAPI_Rewrite]
section:
根据ISAPI_Rewrite 2文档,您需要将配置写入httpd.ini文件到[ISAPI_Rewrite]部分:
[ISAPI_Rewrite]
RewriteRule …
#2
Try with:
RewriteRule ^/$ /index.php?REQUEST_URI=index.php [L]
#3
The global config for ISAPI_Rewrite 3 is called httpd.conf, and per-site distributed configurations are .htaccess.
ISAPI_Rewrite 3的全局配置称为httpd.conf,每站点分布式配置为.htaccess。