-
- 218 Posts
Hello,
i run an experimental MODx setup on a windows server with IIS6. So far SEF support seemed to work fine using the "redirect 404 pages to index.php" trick, but what doesn’t work with SEF is logging in and/or creating a webuser account on the frontend. Anyone solved this problem?
cheers, Olaf
We found on IIS that 404 redirects looses all the post data so contact forms and the like never worked.
In the end I purchased a plugin for IIS Called ISAPI_Rewrite then we simply stopped using the 404 error redirect and switched on FURLS in modx, then when someone types in index.html ISAPI_Rewrite converts it to index.php?q=1 etc
Check that your web host can provide this, if not I run a web hosting company based in the UK and it fully works with modx
-
- 218 Posts
thanx for the quick reply! we manage our own dedicated servers so this is a possible solution for us. Cheers,
Olaf
Thats cool,
The company is: www.helicontech.com
I got my license from a company called www.servertastic.com about $20 cheaper than the actual company who sells it.
Its dead easy to install and all you do is create a httpd.ini in the root of your modx directory the rule I use is as follows:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
RewriteRule .*\.isrwhlp / [F,I,O]
RewriteEngine On
RewriteRule /(?!(?:manager|assets)/)(.*)\.html(?:\?(.*))? /index.php?q=$1?2&$2: [I,L,U]
Hope that helps.