Re: Custom 404 Page and IIS 5.0 Logging
From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 06/17/04
- Next message: Roland Hall: "Re: Penetration of ASP.NET - Developers continue to use VB6 & ASP"
- Previous message: dlbjr: "Re: Penetration of ASP.NET - Developers continue to use VB6 & ASP"
- In reply to: Ray at <%=sLocation%> [MVP]: "Re: Custom 404 Page and IIS 5.0 Logging"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Jun 2004 02:23:02 GMT
On Wed, 16 Jun 2004 17:10:30 -0400, "Ray at <%=sLocation%> [MVP]"
<myfirstname at lane34 dot com> wrote:
>First question - are you returning a 404 response status?
>
>Response.Status = 404
>
>I don't know that that makes the 404s log as 404s in the IIS log, but you
>could/should try that first.
I think the issue is that the default 404 page also logs the requested
page, and his custom page does not.
Jeff
>"Matt" <anonymous@discussions.microsoft.com> wrote in message
>news:1d60e01c453d4$99f6ff90$a101280a@phx.gbl...
>> I notice that when you have the defualt setup of 404 error
>> pages the IIS 5.0 log tracks the page the user was trying
>> to get to and the page they where at when they tryed to
>> get to the now missing page. I recently wrote my own 404
>> error page to make it match my site but when I set IIS to
>> use my custom page it no longer traks the page that the
>> user was trying to get. I was told I needed to add some
>> code to my page to fix this, but I don't know what code to
>> add. Can someone tell me? (I am useing ASP on the custom
>> 404 error page)
>
- Next message: Roland Hall: "Re: Penetration of ASP.NET - Developers continue to use VB6 & ASP"
- Previous message: dlbjr: "Re: Penetration of ASP.NET - Developers continue to use VB6 & ASP"
- In reply to: Ray at <%=sLocation%> [MVP]: "Re: Custom 404 Page and IIS 5.0 Logging"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|