Apache Server configuration support - Filtering Log Problems

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2004 > Filtering Log Problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Filtering Log Problems
Alistair

2004-04-23, 1:33 pm

I am currently having problems with Custom Logs under Apache 2.0.49 on
Windows XP.

I am trying to achieve one of the following :

1) Ignore all requests where the status code is 401

or

2) Capture only requests that have a User Name with them

I am trying to use the SetEnv If function to get this to work. I cant
see that there is a variable that I can test for the status code, so I
have looked at the capturing of the user name. I am using the
following in my httpd.conf file :

SetEnvIfNoCase Remote_User "[a-z]" LogHit

This is not picking up any requests, even if they have a user name
associated with them. I know that requests are logged as I set LogHit
for other files and they appear in the log file.

Dose any one have any pointers that might help me?

Many thanks in advance.

Alistair
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com