Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 53776 invoked by uid 500); 22 May 2002 21:28:58 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 53763 invoked from network); 22 May 2002 21:28:57 -0000 Errors-To: Message-Id: <5.1.0.14.2.20020522162133.027edae0@pop3.rowe-clan.net> X-Sender: wrowe%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 22 May 2002 16:28:50 -0500 To: dev@httpd.apache.org From: "William A. Rowe, Jr." Subject: Re: win32 changes from 1.3 In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 03:36 PM 5/22/2002, you wrote: >In 1.3 we did not need to specify a drive letter >for ServerRoot and DocumentRoot paths but in 2.0 >it appears we must specify the drive letter or Apache >will not start as a service. (note: the 2.0.36 .msi >install sets the drive letter so this limitation is >not immediately apparent to those users). In 1.3 we screwed around with the current working directory to fix it at the server root. If you run Apache 2.0 on the same drive as the current working directory, it will behave just fine [please demonstrate otherwise if I'm missing the point of your comment]. If your cwd is on another volume, that's a problem. This hurts services, since the cwd will always be c:\winnt\system32\. I suggest we cwd to the server root on startup. We can do this in the winnt_mpm, or for all platforms in main(). Opinions? >Also, in 1.3 the -k stop/restart directives worked >even if you started Apache from the command line. >Now it appears that -k is only effective when >running as a service. Because you don't need -k stop in order to stop the server, ctrl+c and close window are both recognized. Apache is a daemon [Service in Windows' terms]. Using it otherwise is and should remain the exception, not the rule. In 1.3, service support was 'experimental'. In 2.0, console support is 'experimental' and service support is rather well pounded out. >Were these changes intentional or did they slip >in inadvertently? Changes? 2.0 is a rewrite/overhaul, the code looks almost nothing similiar to 1.3. So you could say the cwd behavior was overlooked, but the delta to 1.3 means we don't expect to behave identically. -k preferring a "service" was a deliberate change. Bill