Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Saied 349 posts 674 karma points
    Jun 17, 2016 @ 16:39
    Saied
    0

    Do I have to keep existingResponse="PassThrough"

    Hi,

    After I installed I noticed I got an error and it was because it added the following to my web.config

    <httpErrors existingResponse="PassThrough">

    but this already existed, so when I removed it, it worked, so my question is do I take my existing httpErrors and leave it as is:

    <httpErrors errorMode="Detailed">
      <remove statusCode="404" subStatusCode="-1" />
      <error statusCode="404" prefixLanguageFilePath="" path="/error.aspx" responseMode="ExecuteURL" />
    </httpErrors>
    

    or do I add the existingResponse="PassThrough" to it, like so:

     <httpErrors errorMode="Detailed" existingResponse="PassThrough">
          <remove statusCode="404" subStatusCode="-1" />
          <error statusCode="404" prefixLanguageFilePath="" path="/error.aspx" responseMode="ExecuteURL" />
        </httpErrors>
    
  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Jun 18, 2016 @ 17:13
    Alex Skrypnyk
    0

    Hi Saied,

    You need to have the 'existingResponse="PassThrough"' in your config for handling errors in your site.

    Thanks,

    Alex

  • Jonathan Roberts 372 posts 1005 karma points
    Sep 06, 2017 @ 07:52
    Jonathan Roberts
    0

    I have installed this onto a 7.4.3 site and the 404 error page is not working - it is still using error404 setting in Umbraco Setting config.

  • 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.

Please Sign in or register to post replies