httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <...@bourse.ch>
Subject Re: SetEnvIf Woes
Date Fri, 30 Nov 2001 15:53:40 GMT
Jayson Strudwick wrote:
> 
> > > >         SetEnvIfNoCase REMOTE_USER "<username>" login
> > > >         CustomLog logfile_auth combined env=login
> > > >         CustomLog logfile combined env=!login>

>     Here is a snippet from the logfile when someone has been authorized
>     xx.xx.xx.xx - username [29/Nov/2001:11:14:27 -0600] "GET /test HTTP/1.1"
> 301 382
> 
>     And one when they havn't been
>     xx.xx.xx.xx - - [29/Nov/2001:11:14:13 -0600] "GET /images/blank.gif
> HTTP/1.1" 304 -
> 
> > Which file gets all accesses - "logfile" or "logfile_auth"?
> 
>     logfile

So "login" never gets set... Try making the match certain, e.g.

 SetEnvIfNoCase REMOTE_USER .* login

Just to see if this directive ever works!

Rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message