Could you try mine version, see if it works and if so one by one change it back to your version to see where it breaks.
Also where are you getting the 500 error on the frontend or the backend ?
Also a thing to add (also the health check was writing error in my log on localhost is this):
<appSettings>... other settings ...<add key="Umbraco.Core.UseHttps" value="true" /></appSettings>
Another thinh to note is that you have set stopProcessing to true, is this the last rule in rules ? Otherwise other rules which needed to fire are maybe prevented by this rule causing the error.
Please let me kno what the issue is. And if anybody has feedback or improvements on my rewrite https code please let me know also.
Then I'm pretty sure the error isn't in the rewrite rule but somewhere else.
Have you tried to trouble shoot it by accessing a static resource http://<your-site>/images/yourimage.jpg then you at least know if the bindings and routing is working.
Note, you also double checked you have both the http and https bindings in IIS ?
Also does the umbraco log, log anything. If not next step is the windows log.
Internal error on https redirects
Hi,
For some reason I get an Internal 500 error when I try to add the following to the web config on a Umbraco V8 site:
I have never had any issues with this on version 7. Any ideas? I run this on Windows 2019 server with latest updates.
Note: The site works great with https if I type it into the browser.
Dear Henning,
Your code is pretty similar with what I use on my live server Umbraco v8, here is my code:
Could you try mine version, see if it works and if so one by one change it back to your version to see where it breaks.
Also where are you getting the 500 error on the frontend or the backend ?
Also a thing to add (also the health check was writing error in my log on localhost is this):
Another thinh to note is that you have set stopProcessing to true, is this the last rule in rules ? Otherwise other rules which needed to fire are maybe prevented by this rule causing the error.
Please let me kno what the issue is. And if anybody has feedback or improvements on my rewrite https code please let me know also.
What would the correct one be for:
I use this one on both my localhost and on my live website.
Have you tried what happens if you change your rule with my code, do you get the same error ?
Same error. It is on the frontend.
Then I'm pretty sure the error isn't in the rewrite rule but somewhere else.
Have you tried to trouble shoot it by accessing a static resource
http://<your-site>/images/yourimage.jpg
then you at least know if the bindings and routing is working.Note, you also double checked you have both the http and https bindings in IIS ?
Also does the umbraco log, log anything. If not next step is the windows log.
Have you installed the rewrite module for IIS?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.