Does anyone know how to setup CMSMS with pretty urls?
I´ve tried so many rules, and I´m getting exausted.. hate windows hate iis but it´s not my call
ISAPI Rewrite Lite
Re: ISAPI Rewrite Lite
I've seen an IIS ISAPI Rewrite sample-solution thread some time ago...
http://forum.cmsmadesimple.org/index.ph ... 010.0.html
Pierre M.
http://forum.cmsmadesimple.org/index.ph ... 010.0.html
Pierre M.
Re: ISAPI Rewrite Lite
I just finished banging my head against ISAPI rewrite - all working now, I used:
Hope that helps some of you - basically in ISAPI rewrite 2 the file and directory existence checks are not implemented - so this takes all files ending in .html (as set up in my config.php) and turns them into queries.
Many hosts don't yet use ISAPI rewrite 3 (it conflicts with IIS password)
Hope this helps save somebody a day like I've had today!
Code: Select all
[ISAPI_Rewrite]
RewriteCond Host: (www\.)?mydomain\.org
RewriteRule /(.+)\.html /index.php?page=$2 [I,L]
Many hosts don't yet use ISAPI rewrite 3 (it conflicts with IIS password)
Hope this helps save somebody a day like I've had today!