I have the http error pages module pointing to custom error pages. Example the 404 error points to "/errors/404.htm".
I have tried setting this at site level, with <section name="httpErrors" overrideModeDefault="Allow" />
I have tried setting it at the server level and I have tried placing
<location path="test">
<system.webServer>
<httpErrors>
<remove statusCode="500" subStatusCode="-1" />
<remove statusCode="404" subStatusCode="-1" />
<remove statusCode="403" subStatusCode="-1" />
<remove statusCode="401" subStatusCode="-1" />
<error statusCode="401" prefixLanguageFilePath="" path="/errors/401.aspx" responseMode="ExecuteURL" />
<error statusCode="403" prefixLanguageFilePath="" path="/errors/403.aspx" responseMode="ExecuteURL" />
<error statusCode="404" prefixLanguageFilePath="" path="/errors/404.aspx" responseMode="ExecuteURL" />
<error statusCode="500" prefixLanguageFilePath="" path="/errors/500.aspx" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
</location>
in the applicationHost.config file.
None of these causes my workstation to redirect to the 404.htm page. When I enter a bad URL I only get the default, built in 404 page.
Ideas as to why this isn't working in Vista (I can take the same site and run it on Server 2008 and it works)? What can I do to make it work?