>Number: 2981 >Category: os-freebsd >Synopsis: Name Based Virtual Hosts dont work on on FreeBSD (shows main >page) >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Sep 9 22:10:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.1 (Unix) >Environment: FreeBSD 2.2.6-RELEASE #0 gcc version 2.7.2.1 Server version: Apache/1.3.1 (Unix) >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 Thanks, Jerry >How-To-Repeat: NameVirtualHost 24.3.6.108 <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! ]
