You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Garrison <jh...@athensgroup.com> on 2006/10/10 00:55:02 UTC

[users@httpd] mod_authnz_ldap and AUTHENTICATE_* environment variables?

The current documentation for the AuthLDAPUrl directive includes
the following:

ldap://host:port/basedn?attribute?scope?filter

attribute  The attribute to search for. Although RFC 2255 allows a
            comma-separated list of attributes, only the first attribute
            will be used, no matter how many are provided.

Some months ago I discovered that if you listed multiple 
attributes in above directive, Apache would create one
environment variable for each attribute, in the form

	AUTHENTICATE_attrname

I haven't been able to locate any documentation for this.  Is 
this a standard feature of mod_authnz_ldap?  Is it likely to
go away (I hope not)?


-- 
James Garrison                                Athens Group, Inc.
mailto:jhg@athensgroup.com                    5608 Parkcrest Dr
http://www.athensgroup.com                    Austin, TX 78731
SKYPE callto:jhg-athensgroup                  (512) 345-0600 x150
PGP Key ID: 0x22E8DA2A


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Naming access logs using mod_log_rotate

Posted by sn...@cob.org.
Sorry..took me a sec to realize this wasn't an apache thing.  You can do
this with mod_log_rotate with a new release that just added this feature.
See:

http://www.apachelounge.com/

Tried it using their example and it works great.

____________________________
Steven Niedermeyer
Bellingham, WA



                                                                           
             "David Salisbury"                                             
             <salisbury@globe.                                             
             gov>                                                       To 
                                       <us...@httpd.apache.org>            
             10/09/2006 04:03                                           cc 
             PM                                                            
                                                                   Subject 
                                       Re: [users@httpd] Naming access     
             Please respond to         logs                                
             users@httpd.apach                                             
                   e.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           




I believe logrotate is meant to rename the original "hard coded" file.
I don't think you need the variable.

-ds


----- Original Message -----
From: <sn...@cob.org>
To: <us...@httpd.apache.org>
Sent: Monday, October 09, 2006 4:59 PM
Subject: [users@httpd] Naming access logs


>I know how to specify the name of the access log.  However, I've been
> unable to uncover how to specify a file name with a variable.  For
example,
> I'm using log rotate and would like to have the file name include the
date.
> Does anyone know how to accomplish this?
>
> ____________________________
> Steven Niedermeyer
> Bellingham, WA
>
>
> ---------------------------------------------------------------------
> 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
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Naming access logs

Posted by David Salisbury <sa...@globe.gov>.
I believe logrotate is meant to rename the original "hard coded" file.
I don't think you need the variable.

-ds


----- Original Message ----- 
From: <sn...@cob.org>
To: <us...@httpd.apache.org>
Sent: Monday, October 09, 2006 4:59 PM
Subject: [users@httpd] Naming access logs


>I know how to specify the name of the access log.  However, I've been
> unable to uncover how to specify a file name with a variable.  For example,
> I'm using log rotate and would like to have the file name include the date.
> Does anyone know how to accomplish this?
> 
> ____________________________
> Steven Niedermeyer
> Bellingham, WA
> 
> 
> ---------------------------------------------------------------------
> 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
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Naming access logs

Posted by Joost de Heer <sa...@xs4all.nl>.
sniedermeyer@cob.org wrote:
> I know how to specify the name of the access log.  However, I've been
> unable to uncover how to specify a file name with a variable.  For
> example,
> I'm using log rotate and would like to have the file name include the
> date.
> Does anyone know how to accomplish this?

CustomLog "|/path/to/apache/bin/rotatelogs /path/to/access_%Y%m%d.log
interval"

See man strftime which parameters you can use (%Y is year, %m is month, %d
is day, in case you didn't guess)


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Naming access logs

Posted by sn...@cob.org.
I know how to specify the name of the access log.  However, I've been
unable to uncover how to specify a file name with a variable.  For example,
I'm using log rotate and would like to have the file name include the date.
Does anyone know how to accomplish this?

____________________________
Steven Niedermeyer
Bellingham, WA


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org