I got a 404 report on a site I got, and I found out that when there is any of this extensions, the IIS server fails and sends an resource not found error. I set this file extensions to be redirected to the 404 page on the site, like this:
<!--This is the rule for ashx, asmx, axd files-->
<add name="redirect117" redirect="Application" virtualUrl="^~/.*.ashx.*$" destinationUrl="/system/404" ignoreCase="true"/>
<add name="redirect118" redirect="Application" virtualUrl="^~/.*.asmx.*$" destinationUrl="/system/404" ignoreCase="true"/>
<add name="redirect119" redirect="Application" virtualUrl="^~/.*.axd.*$" destinationUrl="/system/404" ignoreCase="true"/>
My question is, if I have this extensions redirect to 404, would I lose some Umbraco functionality, as we don't use this kind of extensions in our code.
Need help, because we need this to be handled but don't know what effect it will have on the umbraco cms.
.asmx .ashx .axd files redirect
Hi guys,
I got a 404 report on a site I got, and I found out that when there is any of this extensions, the IIS server fails and sends an resource not found error. I set this file extensions to be redirected to the 404 page on the site, like this:
My question is, if I have this extensions redirect to 404, would I lose some Umbraco functionality, as we don't use this kind of extensions in our code.
Need help, because we need this to be handled but don't know what effect it will have on the umbraco cms.
Thanks. D.
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.