[Catalyst] Too greedy name-based Virtual Host

Tobias Kremer list at funkreich.de
Wed May 16 11:15:06 GMT 2007


Am 16.05.2007 um 11:54 schrieb Xavier Robin:

> <VirtualHost site2.domain.tld:80>
> 	ServerName    site2.domain.tld:80
> 	DocumentRoot  /home/xrobin/MIAPE/root
> 	LogLevel      debug
> 	ErrorLog      /home/xrobin/catalyst_error_log
> 	<Location />
> 		SetHandler           modperl
> 		PerlResponseHandler  MIAPE
> 	</Location>
> </VirtualHost>
>
> This works, and http://site2.domain.tld calls our Catalyst  
> application, and it seems to work properly.
> But strangely enough, our application is now bound also on  
> site1.domain.tld ! (so all the usual pages are not reachable anymore).

Did you also set the NameVirtualHost directive? Otherwise name-based  
virtual hosts
will not work the way you want it AFAIK:

http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost

--Tobias

_______________________________________/\____ _ .  .
+ web ::::::: http://www.funkreich.de
+ last.fm ::: http://www.last.fm/user/soulchild77
----------------------------------------------- -- -  -



--Tobias

_______________________________________/\____ _ .  .
+ web ::::::: http://www.funkreich.de
+ last.fm ::: http://www.last.fm/user/soulchild77
----------------------------------------------- -- -  -






More information about the Catalyst mailing list