|
-
Jul 31st, 2007, 02:17 PM
#1
Thread Starter
Hyperactive Member
[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
-
Aug 1st, 2007, 10:51 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|