mod_auth_cookie in a proxy Section?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

mod_auth_cookie in a proxy Section?

Christian Klinger
Hello Apache Users,

i have installed the mod_auth_cookie module.

Works this in a Proxy Section??

<Proxy http://192.168.2.2/*>
        AuthType Basic
        AuthName TKTAuth
        AuthCookieName BG15-SessionID
        AuthCookieOverride On
        AuthCookieBase64 On
        require valid-user
<Proxy>

I?ve enabled the debug in the mod_auth_cookie.c file. Recompieled but i
see nothing in the error_log?
I use apache 2.0.54.

Does anybody have some tips for me?

christian


---------------------------------------------------------------------
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: [hidden email]
   "   from the digest: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: mod_auth_cookie in a proxy Section?

Joshua Slive
On 4/28/05, Christian Klinger <[hidden email]> 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.

---------------------------------------------------------------------
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: [hidden email]
   "   from the digest: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: mod_auth_cookie in a proxy Section?

Christian Klinger
Joshua Slive wrote:

> On 4/28/05, Christian Klinger <[hidden email]> 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: [hidden email]
   "   from the digest: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...