www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@go2net.com>
Subject Re: os-freebsd/2981: Name Based Virtual Hosts dont work on on FreeBSD (shows main page)
Date Thu, 10 Sep 1998 05:30:00 GMT
The following reply was made to PR os-freebsd/2981; it has been noted by GNATS.

From: Marc Slemko <marcs@go2net.com>
To: Jerry Burr <dustball@usa.net>
Cc: apbugs@hyperreal.org
Subject: Re: os-freebsd/2981: Name Based Virtual Hosts dont work on on
 FreeBSD (shows main page)
Date: Wed, 9 Sep 1998 22:28:21 -0700 (PDT)

 On 10 Sep 1998, Jerry Burr wrote:
 > >Description:
 > My server,, in addition to the main server page, should have 2 virtual hosts.
 > When accessing adrok.dustball.com OR www.cbwest.com (the two vhosts) it always shows
the main server page. 
 > Try http://www.cbwest.com or http://adrok.dustball.com -- they show the same as
 You are aware that, as documented, having a NameVirtualHost will not allow
 anyone to access the "main" server on that IP, correct?
 > Thanks,
 > Jerry
 > >How-To-Repeat:
 > NameVirtualHost
 Are you sure you are modifying the right copy of the config files?  If you
 try adding some garbage that should make Apache fail and restarting
 Apache, does it complain?  If not, you are probably modifying the wrong
 config file.
 What output does "httpd -S" give?  Is there anything related in the error
 > <VirtualHost>
 > ServerName www.cbwest.com
 > ServerAlias cbwest.com www.cbwest.com
 > ServerAdmin dustball@usa.net
 > DocumentRoot /www/cbwest
 > ErrorLog /www/cbwest/logs/error.log
 > TransferLog /www/cbwest/logs/access.log
 > </VirtualHost>
 > <VirtualHost>
 > ServerAdmin dustball@usa.net
 > DocumentRoot /www/adrok
 > ServerName adrok.dustball.com
 > ErrorLog /www/adrok/logs/error.log
 > TransferLog /www/adrok/logs/access.log
 > </VirtualHost>
 > >Fix:
 > >Audit-Trail:
 > >Unformatted:
 > [In order for any reply to be added to the PR database, ]
 > [you need to include <apbugs@Apache.Org> in the Cc line ]
 > [and leave the subject line UNCHANGED.  This is not done]
 > [automatically because of the potential for mail loops. ]
 > [If you do not include this Cc, your reply may be ig-   ]
 > [nored unless you are responding to an explicit request ]
 > [from a developer.                                      ]
 > [Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message