Results 1 to 2 of 2

Thread: [2005] web.config 404 redirects

  1. #1

    Thread Starter
    Hyperactive Member r0k3t's Avatar
    Join Date
    Dec 2005
    Location
    Cleveland
    Posts
    361

    [2005] web.config 404 redirects

    Hi there,

    I am trying to use 404 redirects on my site. I added this line to the web.config.

    <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"/>

    I also tried this...
    <customErrors mode="On" defaultRedirect="GenericErrorPage.htm"/>

    I tested it with .html and .aspx pages... It's works fine with .aspx and fails with .html

    I searched on line but failed to find any info? Maybe I just didn't do the right search.

    any ideas? I has to be simple.

    Thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] web.config 404 redirects

    Is your virtual directory configured to handle .html files using the ISAPI DLL for ASP.NET?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width