I may be going down the wrong route here, I have a site where the host does not support the IIS url rewrite module, and we need to redirect http to https.
Normally I just a rewrite rule.
Any ideas on best way to do it without the rewrite module in v8?
how to create httphandler in umbraco v 8
How do you do a IHttpHandler in v8?
I used IHttpHandler in v7 and it works ok, this is my v8.1.3 code, it doesn't get hit on a debug break.
Hi Pete
What path are you mapping to the handler in the web.config?
I've seen a similar issue before with the extension of path, not being considered as a backoffice request.
If you make the path end with the extension .axd does this trigger your handler correctly...
This is the issue where I remember this being discussed: https://github.com/umbraco/Umbraco-CMS/issues/6018
Also would it be viable to 'map an mvc route' for the request instead of using then handler (obviously depends on what you are trying to achieve)
regards
Marc
Hi Marc
I may be going down the wrong route here, I have a site where the host does not support the IIS url rewrite module, and we need to redirect http to https. Normally I just a rewrite rule.
Any ideas on best way to do it without the rewrite module in v8?
Peter
is working on a reply...