[thelist] Logging traffic with .htaccess

Michael V. Vladimirov vmv at online.sinor.ru
Tue Nov 21 06:34:14 CST 2000


Hello Tony,

Tuesday, November 21, 2000, 1:33:11 PM, you wrote:

TG>      If I password protect a directory using .htaccess, does Apache have a
TG> way to log successfull/unsuccessful logins to the directory or do I have
TG> to use a separate script? Ideally, I'd like to keep track of
TG> HTTP_USER_AGENT, originating IPs, and what username/passwd they're using
TG> if they're not getting in.

It logs when there is an 'unauthorized' error and logs when there are
authenticated hits.

-- 
Best regards,
 Michael                            mailto:vmv at online.sinor.ru






More information about the thelist mailing list