[pubcookie-dev] PUBCOOKIE_LOGIN_CONFIG_FILE different virtual
scl at sasha.acc.Virginia.EDU
Wed Apr 5 05:55:57 PDT 2006
> I have a problem configuring an instance of pubcookie (3.3.0) with apache
> I have two virtual host protected with pubcookie. the authorization method
> is ldap fot both, but the url for ldap is different
> Im trying with two different config files, changing the environment
> variable form apache config file:
> Virtual host 1: SetEnv PUBCOOKIE_LOGIN_CONFIG_FILE
> Virtual host 2: SetEnv PUBCOOKIE_LOGIN_CONFIG_FILE
> The problem the config file doesnt change.
> Can anyone of you send me an example of some virtual host configuration that
> makes it run
> 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
> (No wrapping, of course, in case your mailer wraps the long line.)
> within the appropriate VirtualHost.
It sounds like you are trying to set the config file for the login CGI
on the application server. You can't do that. The above apache config
must be done on the login server.
Steve Losen scl at virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
More information about the pubcookie-dev