httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "karim Bendadda" <>
Subject Requests on a custom module (LocationMatch)??
Date Mon, 02 Jun 2008 17:13:23 GMT
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
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/*

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message