You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Van Crombrugge <ma...@vliz.be> on 2009/02/02 12:24:20 UTC
Re: [users@httpd] Apache2 only serves first virtualhost
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@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
Re: [users@httpd] Apache2 only serves first virtualhost
Posted by Norman Peelman <np...@cfl.rr.com>.
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@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
>
>
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org