We need to make one exclusion from SSL for the /umbraco/webservices folder or even just /umbraco/webservices/CacheRefresher.asmx Has anyone done this, or knows how to?
You could just make two more rules that rewrite the https version of those two URL's back to http... Not very efficient, and might cause problems if the cacherefresher still gets called with https (?).
Maybe you can add them to the web.config as excluded pages.
For anyone who finds this, and needs similar functionality. I ended up modifying the UrlRewritingNet source and adding some custom functionality that stops all preceeding UrlRedirects if a certain url is matched. Then added the useSSL redirect after the new redirect.
Url Rewriting Exclusion
Hi all,
We have a site that runs entirely in SSL, so there is a URL Rewrite configured to rewrite any http requests to https, as below:
We need to make one exclusion from SSL for the /umbraco/webservices folder or even just /umbraco/webservices/CacheRefresher.asmx
Has anyone done this, or knows how to?
So basically http://blah.com/umbraco/webservices/CacheRefresher.asmx should not be rewritten to https://
Any help is really appreciated!
Cheers,
Neil
You could just make two more rules that rewrite the https version of those two URL's back to http... Not very efficient, and might cause problems if the cacherefresher still gets called with https (?).
Maybe you can add them to the web.config as excluded pages.
Thanks for that Sebastiaan. I tried the first option and that didn't seem to work.
I will try the excluded pages option and see if that works, otherwise i may have to modify urlrewrite source.
Is there any other simple way that i am missing?
Cheers,
Neil
For anyone who finds this, and needs similar functionality.
I ended up modifying the UrlRewritingNet source and adding some custom functionality that stops all preceeding UrlRedirects if a certain url is matched. Then added the useSSL redirect after the new redirect.
is working on a reply...