Copied to clipboard

Flag this post as spam?

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


  • Max Mumford 266 posts 293 karma points
    Aug 19, 2010 @ 22:39
    Max Mumford
    0

    Custom 404 error only working for .aspx files?

    Hi,

    We are running Umbraco and have followed some instructions on how to make a custom 404 error, however the error is currently only working for .aspx files. If tested on .php files or a folder it uses the default 404 error page.

    How do we make our new 404 error page work for everything?

    Thanks,
    Max.

  • Ulrich Wagner Gade Ebsen 110 posts 238 karma points
    Aug 19, 2010 @ 22:47
    Ulrich Wagner Gade Ebsen
    0

    Hi Max,

    IIS has its own setting for 404 (and others) not catched by .NET.. you kan set that to point to your 404 page.. ;)

     

    /ulrich

  • Max Mumford 266 posts 293 karma points
    Aug 19, 2010 @ 22:54
    Max Mumford
    0

    Hi,

    Thanks for the reply, I had seen that mentioned on another forum but wondered if there was a simpler way, perhaps one that went directly through Umbraco instead of IIS?

    Max.

    (p.s., I clicked submit twice and now the thread has a duplicate. When I click the delete button a confirmation is shown but the thread is still listed... why is this?)

  • Ulrich Wagner Gade Ebsen 110 posts 238 karma points
    Aug 19, 2010 @ 23:00
    Ulrich Wagner Gade Ebsen
    0

    Hi,

    There is one other option and that is to add a handler that run all extensions through .NET but that is also an IIS setting and I wouldn't recommend it...!

    Go for the before mentioned.. ;)

    Most up to date hosting providers (should) let you use Remote IIS Management for you site. I for one do.. ;)

    /ulrich

  • Max Mumford 266 posts 293 karma points
    Aug 19, 2010 @ 23:02
    Max Mumford
    0

    Okay then, thanks for your help :)

  • 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