mod_perl + mod_proxy
From: Remigisz K. (rkinas_at_eranet.pl)
Date: 01/31/04
- Next message: Dan Bolser: "Re: Spamassassin False positive increase"
- Previous message: skchan_at_cs.usask.ca: "gluCylinder in OpenGL-0.54"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jan 2004 00:00:01 +0100
Hello!
I have one problem witch mod_perl and mod_proxy configuration. I have
apache 2.0 with mod_perl and mod_proxy modules installed. My apache is
working as transparent proxy server. I would like to add some additional
parameters to http header based on information which are stored in database.
Algorithm:
1. Client is sending request throught proxy server.
2. [mod_perl script] Proxy server processing request and looking for client
IP addres.
3. [mod_perl script] Now the server send query to database (one of the
parameter is cleint IP adress) and the result is some information for
example XXX
4. [mod_perl script] Add XXX to header parameter of http request
5. [mod_perl script] Send request to destination server
I'am looking for sample perl script or some tips how to do it?
Best regards
Remek
- Next message: Dan Bolser: "Re: Spamassassin False positive increase"
- Previous message: skchan_at_cs.usask.ca: "gluCylinder in OpenGL-0.54"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|