RE: LoadModule directive

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

 



 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@xxxxxxxxxxxxx] 
Sent: Monday, March 31, 2008 2:11 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  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@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