You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Guy Smith <gu...@home.net> on 1998/09/04 06:10:11 UTC

os-windows/2952: Apache won't start as service when VirtualHost is used

>Number:         2952
>Category:       os-windows
>Synopsis:       Apache won't start as service when VirtualHost is used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Sep  3 21:20:01 PDT 1998
>Last-Modified:
>Originator:     guys@home.net
>Organization:
apache
>Release:        1.3.1
>Environment:
NT 4.0, service pack 2
>Description:
When installed as a service, Apache starts OK with a defelt httpd.conf.  I added a section for a virtual host , using just the DocumentRoot and cluase (also tried with and without the ServerName clause, and with/without the NameVirtualHost clause.  Any combination caused Apache to not start (using either "net start apache" or from ControlPanel/Service).

When run as an application, everything work OK.

Nothing in error.log indicating a problem.  I don't see anything that looks like a core file (or whatever the NT equiv is).
>How-To-Repeat:
My section of http.conf for redirecting to a web follows:

NameVirtualHost 24.1.86.37

<VirtualHost www.natpulse.com>
#ServerAdmin guys@home.net
#ServerName www.natpulse.com
DocumentRoot "c:/FrontPage Webs/Content/natpulse"
#ErrorLog logs/natpulse-error.log
#TransferLog logs/natpulse-access.log
</VirtualHost>
>Fix:
No.
>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 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!         ]