[pubcookie-dev] PUBCOOKIE_LOGIN_CONFIG_FILE different virtual host

Raúl Martínez martiner at tb-solutions.com
Wed Apr 5 05:24:53 PDT 2006


Hello,

I have a problem configuring an instance of pubcookie (3.3.0) with apache
2.2.0

I have two virtual host protected with pubcookie. the authorization method
is ldap fot both, but the url for ldap is different
.

I’m trying with two different config files, changing the environment
variable form apache config file:

               Virtual host 1: SetEnv PUBCOOKIE_LOGIN_CONFIG_FILE
/usr/local/pubcookie-3.3.0a/config1
               Virtual host 2: SetEnv PUBCOOKIE_LOGIN_CONFIG_FILE
/usr/local/pubcookie-3.3.0a/config2


The problem the config file doesn’t change.

Can anyone of you send me an example of some virtual host configuration that
makes it run
..

Thanks,


So, this patch was born.  It adds an environment variable that you can
set (PUBCOOKIE_LOGIN_CONFIG_FILE) within Apache's config file like so:
    setenv PUBCOOKIE_LOGIN_CONFIG_FILE
/usr/local/webiso-dev/pubcookie/config-logindev.wisc.edu
(No wrapping, of course, in case your mailer wraps the long line.)
within the appropriate VirtualHost.


               Raúl Martínez
               TB·Solutions Delivery Services

               E-mail: martiner at tb-solutions.com
<mailto:martiner at tb-solutions.com>
               Web: http://www.tb-solutions.com
<http://www.tb-solutions.com/>
               Tfno.: +34 948 173 319
               Fax: +34 948 172 235


AVISO DE CONFIDENCIALIDAD:

El presente mensaje y, en su caso, los ficheros que lleve adjuntos, va
dirigido de manera exclusiva a su destinatario y puede contener información
confidencial. Cualquier opinión en él contenida es exclusiva de su autor y
no representa necesariamente la opinión de TB·Solutions. Si usted no es el
destinatario de este mensaje (o la persona responsable de su entrega),
considérese advertido de que lo ha recibido por error, así como de la
prohibición legal de realizar cualquier tipo de uso, difusión, reenvío,
impresión o copia del mismo. Si ha recibido este mensaje por error, por
favor notifíquelo al remitente y proceda a destruirlo inmediatamente.
This message and the attached documents may contain privileged/confidential
information and intended solely for the use of the individual to whom it is
addressed. Any views or opinions presented are solely those of the author
and do not necessarily represent the opinion of TB·Solutions. If you are not
the intended recipient (or responsible for delivery of the message to such a
person) be advised that you have received this message in error and that any
use, dissemination, forwarding, printing or copying of this e-mail is
strictly prohibited. If you have received this message in error please
notify it to the sender and destroy it immediately.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman1.u.washington.edu/pipermail/pubcookie-dev/attachments/20060405/990df334/attachment.htm


More information about the pubcookie-dev mailing list