VirtualHost Issue (Ubuntu 6.10)
John R Cichy
john at greengator.com
Sat Jan 6 17:01:25 UTC 2007
Try replacing *:80 with host_ip_address:80, this worked for me, but
others might have a better solution.
HTH
John
On Sat, 2007-01-06 at 11:29 -0500, Karl-Heinz Schulz wrote:
> Here is one of the errors
>
> [Sat Jan 06 11:28:42 2007] [warn] VirtualHost kasimir-schulz:80 overlaps
> with VirtualHost khschulz-lab:80, the first has precedence, perhaps you need
> a NameVirtualHost directive
>
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com
> [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of John R Cichy
> Sent: Saturday, January 06, 2007 11:11 AM
> To: Ubuntu user technical support, not for general discussions
> Subject: Re: VirtualHost Issue (Ubuntu 6.10)
>
> 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?
> >
> >
> > TIA
> >
> > NameVirtualHost *:80
> >
> > <VirtualHost *>
> >
> > ServerAdmin webmaster at localhost
> >
> > DocumentRoot /var/www/
> >
> > <Directory />
> >
> > Options FollowSymLinks
> >
> > AllowOverride None
> >
> > </Directory>
> >
> > <Directory /var/www/>
> >
> > Options Indexes FollowSymLinks MultiViews
> >
> > AllowOverride None
> >
> > Order allow,deny
> >
> > allow from all
> >
> > # Uncomment this directive is you want to see
> > apache2's
> >
> > # default start page (in /apache2-default) when you go
> > to /
> >
> > #RedirectMatch ^/$ /apache2-default/
> >
> > </Directory>
> >
> > ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> >
> > <Directory "/usr/lib/cgi-bin">
> >
> > AllowOverride None
> >
> > Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> >
> > Order allow,deny
> >
> > Allow from all
> >
> > </Directory>
> >
> > ErrorLog /var/log/apache2/error.log
> >
> > # Possible values include: debug, info, notice, warn, error,
> > crit,
> >
> > # alert, emerg.
> >
> > LogLevel warn
> >
> > CustomLog /var/log/apache2/access.log combined
> >
> > ServerSignature On
> >
> > Alias /doc/ "/usr/share/doc/"
> >
> > <Directory "/usr/share/doc/">
> >
> > Options Indexes MultiViews FollowSymLinks
> >
> > AllowOverride None
> >
> > Order deny,allow
> >
> > Deny from all
> >
> > Allow from 127.0.0.0/255.0.0.0 ::1/128
> >
> > </Directory>
> >
> > </VirtualHost>
> >
> >
> > <VirtualHost *:80>
> >
> > ServerName www.wienernaschmarkt.eu
> >
> > DocumentRoot /var/www/naschmarkt
> >
> > ServerAdmin webmaster at wienernaschmarkt.eu
> >
> > </VirtualHost>
> >
> > <VirtualHost *:80>
> >
> > ServerName www.kasimir-schulz.com
> >
> > DocumentRoot /usr/share/gallery
> >
> > </VirtualHost>
> >
> > <VirtualHost *:80>
> >
> > ServerName www.khschulz-lab.com
> >
> > DocumentRoot /usr/share/gallery
> >
> > </VirtualHost>
> >
> >
> > Alias /squirrelmail /usr/share/squirrelmail
> >
> > <Directory /usr/share/squirrelmail>
> >
> > php_flag register_globals off
> >
> > Options Indexes FollowSymLinks
> >
> > <IfModule mod_dir.c>
> >
> > DirectoryIndex index.php
> >
> > </IfModule>
> >
> What is apache2 complaining about in the logs? I think it has to do with
> the *:80, at least mine did not like it
>
> John
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list