Re: Apache2 only serves first virtualhost

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

 



Mark Van Crombrugge wrote:
Thanks for the hint.
I changed the "Documentroot" to "DocumentRoot" but it makes no difference.

This phenomenon is very strange and only occurs one one of our many servers. If I don't find a solution soon, I will copy a httpd.conf file from another machine and if that doesn't do the trick, reinstall Apache from scratch.

But any hints and ideas are very welcome because I prefer the discover what causes this and learn from it, compared to starting from scratch and staying dumb.





On 29 Jan 2009, at 18:29, Simon Young wrote:

On Thu, Jan 29, 2009 at 06:09:00PM +0100, Mark Van Crombrugge wrote:

FIRST HTTPD.CONF, no mather which URL one browses for, "First Website"
is allways served.

# First Website
<Virtualhost *:80>
 Documentroot /var/www/html/www.website1.org
 ServerName www.website1.org
 ServerAlias website1.org
</Virtualhost>


Could it just be a case-sensitivity issue? Try changing the document
root directive to 'DocumentRoot' instead of 'Documentroot'.

---------------------------------------------------------------------
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


It's got to be something really simple you're overlooking. Maybe use Firefox w/liveheaders addon to see what's going on.


--
Norman Registered Linux user #461062 -Have you been to www.apache.org yet?-

---------------------------------------------------------------------
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