httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Manolache <sor...@gmail.com>
Subject Re: Get Parameter from httpd.conf
Date Thu, 26 May 2011 16:30:01 GMT
On Thu, May 26, 2011 at 16:18, Niko Goutte <ngoutte@hotmail.com> wrote:
>
> Hi,
>
> I am currently implementing a module and for each HTTP GET request, I need to check its
validity from another server.
> I want to put these specific IP/Port parameters into httpd.conf.
> Thus, each time a receive a GET request:
> 1/ I get specific IP/Port server values from httpd.conf.
> 2/ My module connects to distant server and gets all information.
> 3/ Then, my module is able to answer to its request.
>
> Can someone explain me how to do this ?
> What should I write in the httpd.conf and how I can get these values from my module ?

Would something like this help you?

<Location /URL1>
   ProxyPass http://backend1:port1/URL
</Location>
<Location /URL2>
   ProxyPass http://backend2:port2/URL
</Location>



>
> Thank you,
> Nicolas.
>

Mime
View raw message