httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Purohit" <Vinay.Puro...@trianz.com>
Subject RE: [users@httpd] LoadModule directive
Date Mon, 31 Mar 2008 09:07:31 GMT
 hi,
Where do I do module specific settings ? Actually myapp.so(in example
below) is a filter which redirects request to other custm build
application. I would like to redirect all the request of
RuntimeTest1.apple.com to custom application while other virtual host
,configured name based virtual host , RuntimeTest2.apple.com should work
normally i.e. should not be redirected to my custom app. 

\Vinay

-----Original Message-----
From: Sascha Kersken [mailto:sk@lingoworld.de] 
Sent: Monday, March 31, 2008 2:11 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] LoadModule directive

Hello,


> HI,
>  
> Can I have LoadModule directive inside the virtual server block in 
> httpd.conf  i.e
>  
> <VirtualHost *:100>
> 
>     DocumentRoot "C:/vhost"
>     ServerName RuntimeTest1.apple.com
>     *LoadModule setenvif_module modules/myapp.so*
> #    ErrorLog logs/error.log
> #    CustomLog CustomLog logs/access.log common
>  
> </VirtualHost>

No, you can't:
http://httpd.apache.org/docs/2.2/mod/mod_so.html#loadmodule
says "Server config".
But usually you can configure what a module does or does not in each
context using the module's own configuration directives.


Regards
Sascha


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


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


Mime
View raw message