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

RE: Virtual Hosts



   
 Hi Joe,

That's the correct documented behaviour for Apache - once you define VirtualHosts, the first VirtualHost becomes the default site. Just add a blank VirtualHost before the others you've designed, by default it will inherit all it's settings from your "main" Apache config.

Carl

PS This is the apache-developers mailinglist - you might find that you get quicker better help by emailling the debian-user list.

-----Original Message-----
From: joe [mailto:joe@futratec.com]
Sent: 26 February 2004 13:12
To: debian-apache@lists.debian.org
Subject: Virtual Hosts


Greetings,

Does anyone know if you turn on the Virtual Hosting in Apache 1.3.26 if you have to now set up a virtual host for the default site in the /var/www location? I have the virtual hosts/sites set up and working just fine redirected to user directories, /home/xxuser/public_html.

It seems that the first virtual site/host that has been defined has become the 'main' site so any traffic not specified, say using the IP address of the Debian/Apache box, will return the first virtual host as the main host/site? 

Regards,

Joe Maroney   
--------------------------------------------------------
GMG Regional Digital is part of the Guardian Media Group plc. 
 
 
  
 
CONFIDENTIALITY NOTICE. The information contained in this e-mail is intended only for joe@futratec.com, debian-apache@lists.debian.org. It may contain privileged and confidential information that is exempt from disclosure by law and if you are not an intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, you may notify our helpdesk by telephone on 44 (0)161 211 2222. E-mail transmission cannot be guaranteed to be secure or error-free. The sender (carl.johnstone@gmgrd.co.uk) therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.  
  
  
  
  
 
 



Reply to: