You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Christian Klinger <ck...@novareto.de> on 2005/04/28 16:06:08 UTC

[users@httpd] Re: mod_auth_cookie in a proxy Section?

Joshua Slive wrote:
> On 4/28/05, Christian Klinger <ck...@novareto.de> wrote:
> 
>>Hello Apache Users,
>>
>>i have installed the mod_auth_cookie module.
>>
>>Works this in a Proxy Section??
>>
>><Proxy http://192.168.2.2/*>
> 
> 
> Are you sure this matches the target site of the proxy request?  Does
> it work if you use <Proxy *>?
> 
> Joshua.
> 


I use this config as a ReverseProxy and i authenticate on the ReverseProxy.

First I authenticate with the mod_auth_tkt module. This works!
I also see the cookies for mod_auth_tkt. But nothing happens!
I use nearly the same configuration with apache1.3 which works.
mod_auth_tkt sets in the apache1.3 environment the authentication header
on the proxy client.

I hope now its a bit clearer.

Christian


NameVirtualHost 192.168.2.10:80
<VirtualHost *:80>
        ServerName server.de
#Direcotry diese Direktive dient zum Schützen des Dierectories
<Proxy http://192.168.2.11:80/*>
         TKTAuthCookieName VisitorID
         TKTAuthLoginURL "http://server.de/zope/login"
         TKTAuthTimeoutURL "http://server.de/zope/Login.htm"
         TKTAuthTimeoutMin 60
         TKTAuthUnauthURL "http://server.de/zope/Login.htm"
         TKTAuthIgnoreIP On
         AuthType Basic
         AuthName TKTAuth
         AuthCookieName BG15-SessionID
         AuthCookieOverride On
         AuthCookieBase64 Off
         require valid-user
</Proxy>
         TKTAuthSecret 21test21




---------------------------------------------------------------------
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