You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by danny <da...@nettaxi.com> on 2002/03/01 18:34:42 UTC
config/10005: Start Virtual host but stop the default page.
>Number: 10005
>Category: config
>Synopsis: Start Virtual host but stop the default page.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Mar 01 09:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: dannyho@nettaxi.com
>Release: 1.3.23
>Organization:
apache
>Environment:
Slackware 8.0 with kernel 2.4.5
>Description:
When i config a virtual host and listen a port on the same machine. Then default page will not work. Seem to no default page.
Here is my config file demo.
Port 80
DocumentRoot /var/www/htdocs
.......
Listen 8000
<VirtualHost _default_:8000>
DocumentRoot /var/www/virtual.com
ServerName www.virtual.com
</VirtualHost>
When i start the apache 1.3.23 server with this virtual host. Then the defult server on port 80 will stop. The problem seem to set a wrong path with the DocumentRoot.
To slove this problem, i need to change the default port from 80 to other port.
And make two Virtual host, one is on port 80 another is on port 8000.
I don't know why this problem will happen, simce my other machine running RedHat 7.0 with the old Apache server without this problem.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database 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! ]