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