Re: [users@httpd] loadmodule depends on envoirnment varable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

----- Original Message ----- 
From: "Joshua Slive" <jslive@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Sunday, July 31, 2005 5:05 AM
Subject: Re: [users@httpd] loadmodule depends on envoirnment varable?


On 7/30/05, Jeff <jeffkim@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux