The following reply was made to PR os-freebsd/2981; it has been noted by GNATS.
From: Marc Slemko <[EMAIL PROTECTED]> To: Jerry Burr <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] 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, 24.3.6.108, 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 http://24.3.6.108 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 24.3.6.108 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 log? > > <VirtualHost 24.3.6.108> > ServerName www.cbwest.com > ServerAlias cbwest.com www.cbwest.com > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /www/cbwest > ErrorLog /www/cbwest/logs/error.log > TransferLog /www/cbwest/logs/access.log > </VirtualHost> > > <VirtualHost 24.3.6.108> > ServerAdmin [EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> 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! ] > > > >
