Help: Permalinks on a Windows Server IIS
4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: November 9, 2017 (RSS)
By mizrahi - November 6, 2017 - edited: November 7, 2017
Any tips or suggestions on how to get the permalinks plugin to work on a Windows Server?
By Dave - November 8, 2017
Hi mizrahi,
You're going to need to search for IIS support for ".htaccess" and "mod_rewrite". The newer IIS versions have some supporting features built in and there are some 3rd party apps and utils as well. Here are some quick links to get you started. You'll want to forward these to your server IT staff and let them know you need support for .htaccess and mod_rewrite (or equivalent):
- http://www.helicontech.com/isapi_rewrite/ (we've had some customers use this in the past).
- http://stackoverflow.com/questions/257936/htaccess-or-htpasswd-equivalent-on-iis
- http://stackoverflow.com/questions/60857/mod-rewrite-equivalent-for-iis-7-0
- http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfig
- http://www.iis.net/learn/extensions/url-rewrite-module/importing-apache-modrewrite-rules
Hope that helps!
interactivetools.com
By mizrahi - November 9, 2017
Thanks.
I get this message from IIS:
"The rule set cannot be converted into an equivalent IIS format because control flow flags (C, S, N) are not supported.”
Are you able to explain to me what these flags are doing in order to create something equal for IIS.
By Dave - November 9, 2017
Hi mizrahi,
Sure you can see the list of flags here: https://httpd.apache.org/docs/current/rewrite/flags.html
NC means no case or case insensitive, and S mean skip. If you don't need the https or www redirection blocks you can just remove those and just leave the permalinks block. I don't think that uses any of the unsupported flags.
interactivetools.com