Thanks to this tutorial, I am now able to get any types of specific values from httpd.conf file. http://threebit.net/tutorials/apache2_modules/tut2/tutorial2.html
> Date: Thu, 26 May 2011 12:00:13 -0500 > From: supp...@bettercgi.com > To: modules-dev@httpd.apache.org > Subject: Re: Get Parameter from httpd.conf > > So you're asking how your module knows it's own configuration > values? See the documentation first and then check ANY Module > for examples. Virtually all modules have configuration. If you > have any specific questions about parts of the documentation > that you don't understand, let us know. > > http://lmgtfy.com/?q=apache+module+configuration > -- > Ray Morris > supp...@bettercgi.com > > Strongbox - The next generation in site security: > http://www.bettercgi.com/strongbox/ > > Throttlebox - Intelligent Bandwidth Control > http://www.bettercgi.com/throttlebox/ > > Strongbox / Throttlebox affiliate program: > http://www.bettercgi.com/affiliates/user/register.php > > > > > On Thu, 26 May 2011 16:18:29 +0200 > Niko Goutte <ngou...@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 ? > > > > Thank you, > > Nicolas. > >