ISAPI Rewrite with instead of mod_rewrite
-
12-09-2019 - |
Question
I'm installing Modx on windows with ISAPI Rewrite instead of apache with mod_rewrite?
How do you define the rewrite rules? I'm guessing not with an .htccess file?
any Ideas? Thanks
Solution
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]
RewriteRule …
OTHER TIPS
Try with:
RewriteRule ^/$ /index.php?REQUEST_URI=index.php [L]
The global config for ISAPI_Rewrite 3 is called httpd.conf, and per-site distributed configurations are .htaccess.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow