antic
Perch
I have a site on win34. When I add this section in web.config, I get an error:
Pages work normally, but when I try a non-existent page (to test the 404 redirect), the server responds with "The page cannot be displayed because an internal server error has occurred."
I don't have any error pages set up in HSphere.
Am I doing something wrong? Theoretically it should work, if win34 is IIS7.
Code:
<system.webServer>
<httpErrors>
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" path="/index.shtml" responseMode="Redirect" />
</httpErrors>
</system.webServer>
I don't have any error pages set up in HSphere.
Am I doing something wrong? Theoretically it should work, if win34 is IIS7.