Hello,
I'm having a little problem with vhosts with OpenBSD apache, not really a
problem, more a Warning cause everything is working nicely, i just dont like
the warnings.I created a vhosts.conf in /var/www/conf/modules with the following:
---------vhosts.conf---------
NameVirtualHost *:80DocumentRoot /htdocs
ServerName domain1.comDocumentRoot /htdocs/stats
ServerName sub.domain2.comDocumentRoot /htdocs/blog
ServerName domain2.com
ServerAlias www.domain2.com---------vhosts.conf---------
Everything works as expected, but when I do a apachectl configtest I get the
following:# apachectl configtest
Processing config directory: /var/www/conf/modules/*.conf
Processing config file: /var/www/conf/modules/php5.conf
Processing config file: /var/www/conf/modules/vhosts.conf
Warning: DocumentRoot [/htdocs] does not exist
Warning: DocumentRoot [/htdocs/stats] does not exist
Warning: DocumentRoot [/htdocs/blog] does not exist
[Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost
*:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost
*:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri May 16 12:03:50 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
Syntax OKCan anyone help me out figuring a way to remove those warnings?
| Mark Lord | 2.6.25-rc8: FTP transfer errors |
| Kamalesh Babulal | Re: 2.6.23-rc6-mm1 |
| Greg Kroah-Hartman | [PATCH 025/196] paride: Convert from class_device to device for block/paride |
| Stephen Rothwell | Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| Linus Torvalds | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
