VirtualHost Issue (Ubuntu 6.10)
Karl-Heinz Schulz
karlheinz at khschulz.com
Mon Jan 8 14:43:53 UTC 2007
I was able to correct the issue - it was a combination of the VirtualHost
name plus some bad entries in the ssl setup
-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Derek Broughton
Sent: Monday, January 08, 2007 9:23 AM
To: ubuntu-users at lists.ubuntu.com
Subject: RE: VirtualHost Issue (Ubuntu 6.10)
John R Cichy wrote:
> Try replacing *:80 with host_ip_address:80, this worked for me, but
> others might have a better solution.
Yeah, that rather defeats the purpose of virtual hosts.
>> On Sat, 2007-01-06 at 10:41 -0500, Karl-Heinz Schulz wrote:
>> > I cannot the Virtual host working on this newly set up box .
>> >
>> > Would you mind to get me in the right direction?
>> >
>> >
>> > NameVirtualHost *:80
NameVirtualHost *
>> >
>> > <VirtualHost *>
>> > ServerAdmin webmaster at localhost
...
>> > </VirtualHost>
I'm not sure if you absolutely need a "ServerName" option there and you
_really_ don't want to use "webmaster at localhost" - that's the address
that's going to show on error pages, so it needs to be reachable by anyone
using that website.
>> >
>> >
>> > <VirtualHost *:80>
<VirtualHost *>
>> > ServerName www.wienernaschmarkt.eu
>> > DocumentRoot /var/www/naschmarkt
>> > ServerAdmin webmaster at wienernaschmarkt.eu
>> > </VirtualHost>
>> >
>> > <VirtualHost *:80>
<VirtualHost *>
>> > ServerName www.kasimir-schulz.com
>> > DocumentRoot /usr/share/gallery
>> > </VirtualHost>
>> >
>> > <VirtualHost *:80>
<VirtualHost *>
>> > ServerName www.khschulz-lab.com
>> > DocumentRoot /usr/share/gallery
>> > </VirtualHost>
>> >
>> What is apache2 complaining about in the logs? I think it has to do with
>> the *:80, at least mine did not like it
Indeed. I still can't get mine to stop warning me:
[warn] NameVirtualHost *:0 has no VirtualHosts
but that's a minor annoyance.
--
derek
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3660 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070108/97cf900e/attachment.bin>
More information about the ubuntu-users
mailing list