Thanks .... I've hacked the mod_limitipconn to read env variable myself.

----- Original Message ----- 
From: "Joshua Slive" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, July 31, 2005 5:05 AM
Subject: Re: [EMAIL PROTECTED] loadmodule depends on envoirnment varable?


On 7/30/05, Jeff <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I want to do something like this:
> .....
> SetEnvIfNoCase Referer somewhere limitaccess
> .....
> then if env "limitaccess" is set,
> LoadModule limitipconn_module modules/mod_limitipconn.so
> otherwise don't load the mod_limitipconn
> 
> Is it possible?

No.  LoadModule is executed at server startup/restart, not at request
time.  It is present for all requests or for none.

You should perhaps ask the developers of mod_limitipconn if they can
include support for acting conditionally on an env variable.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to