Logging errors with ASP 404 error pages

Discussion in 'ASP General' started by Matt Verstraete, May 21, 2004.

  1. When I had just setup my web site with IIS 5.0 the error
    log contained the 3 things I needed for my site stats
    page. The page that had that not been found (i.e.
    site.com/nofile.html), the error number (404) and the
    referrer (where the person came from to get to the bad
    page); Now when I try to use my custom 404 page it only
    logs the error number. How can I setup my page to log the
    referrer and bad file page?
     
    Matt Verstraete, May 21, 2004
    #1
    1. Advertising

  2. Matt Verstraete

    Steven Burn Guest

    http://aspfaq.com/show.asp?id=2162

    --

    Regards

    Steven Burn
    Ur I.T. Mate Group
    www.it-mate.co.uk

    Keeping it FREE!


    "Matt Verstraete" <> wrote in message
    news:100aa01c43eec$9f32d850$...
    > When I had just setup my web site with IIS 5.0 the error
    > log contained the 3 things I needed for my site stats
    > page. The page that had that not been found (i.e.
    > site.com/nofile.html), the error number (404) and the
    > referrer (where the person came from to get to the bad
    > page); Now when I try to use my custom 404 page it only
    > logs the error number. How can I setup my page to log the
    > referrer and bad file page?
     
    Steven Burn, May 22, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Louden
    Replies:
    4
    Views:
    4,026
    Guest
    Nov 8, 2003
  2. Matthew Louden
    Replies:
    0
    Views:
    565
    Matthew Louden
    Dec 3, 2003
  3. Matthew Louden

    HTTP 404 Error for ASP.NET pages

    Matthew Louden, Dec 4, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    6,322
    Matthew Louden
    Dec 4, 2003
  4. Jonathan Folland
    Replies:
    2
    Views:
    1,638
    Jonathan Folland
    Mar 17, 2005
  5. Justin

    404 errors for ASPX PAGES

    Justin, May 2, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    5,665
    =?Utf-8?B?a3Ryb2Nr?=
    May 19, 2006
Loading...

Share This Page