Hi all,

 I need some help on an httpd configuration:

 I'm trying to develop a custom cookie based module (*mod_loginCookie*). The
module will check an encrypted cookie using Apache as a *reverse
proxy*(using openssl decrypting libraries...); then I'm trying to make
all
requests to an external server being checked by the module.

 The server's url is: *http://url_of_The_Server/auth/swa/login.aspx *; the
server automatically redirects *http://url_of_The_Server/auth/swa *to the
login page (*login.aspx* ).

In the httpd.conf file I wrote this:

<Location /auth/swa>
SetHandler  loginCookie
ProxyPass           *http://url_of_The_Server/auth/swa/*
ProxyPassReverse   *http://url_of_The_Server/auth/swa/*
</Location>

The module treats the first request to the server only, the others requests
not (*http://url_of_The_Server/auth/something/auth.htm, **
http://url_of_The_Server/auth/somethingElse/so.htm... *passes the mod_proxy
only*)
*
I need to tell my module to treat *ALL *the reverse proxy requests. How Can
I do this??

I tried

<LocationMatch "/auth/*")
SetHandler  loginCookie
</LocationMatch >

But no change....

Any help please???
-- 
Karim

Reply via email to