From nobody@hyperreal.org Thu Jul 24 07:03:09 1997 Received: (from nobody@localhost) by hyperreal.org (8.8.5/8.8.5) id HAA29656; Thu, 24 Jul 1997 07:03:09 -0700 (PDT) Message-Id: <199707241403.HAA29656@hyperreal.org> Date: Thu, 24 Jul 1997 07:03:09 -0700 (PDT) From: Rob Wygand Reply-To: rob@atlanta.usweb.com To: apbugs@hyperreal.org Subject: Configuration does not handle spaces in filenames properly. X-Send-Pr-Version: 3.2 >Number: 909 >Category: os-windows >Synopsis: Configuration does not handle spaces in filenames properly. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jul 24 07:10:01 1997 >Last-Modified: Sun Dec 14 07:02:54 PST 1997 >Originator: rob@atlanta.usweb.com >Organization: >Release: 1.3a1 >Environment: Running on WindowsNT 4.0 service pack 3 on Intel, Microsoft Visual C++ 5.0. >Description: I installed my server in \program files\internet applications\apache. When I attempted to start the server with: apache -s -f /Program Files/Internet Applications/Apache/Conf/httpd.conf I recieved the same error message endlessly: fopen: unable to open file Unable to open config file: Progra When I changed the config file directive to /progra~1/intern~1/apache/conf/httpd.conf everything worked. I then ran apache -i /progra~1/intern~1/apache/conf/httpd.conf. Apparently the -f parameter is not passed to the service initialization, so the service did not know where to look for the config files and would not start. I remedied all this by installing in the default location... but it would be nice to be able to install under Program Files. >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Thu Jul 24 11:39:42 PDT 1997 State-Changed-Why: Try enclosing the filename in doublequotes ("). Dean From: Dean Gaudet To: apbugs@apache.org Subject: Re: config/909: Configuration does not handle spaces in filenames properly. (fwd) Date: Thu, 24 Jul 1997 12:26:25 -0700 (PDT) ---------- Forwarded message ---------- Date: Thu, 24 Jul 1997 15:08:33 -0400 From: "Robert J. Wygand III" To: dgaudet@hyperreal.org Subject: Re: config/909: Configuration does not handle spaces in filenames properly. Dean, I tried that... no go. I should have mentioned it in the bug report actually, sorry. Same behavior. Enclosing things is "'s works in the conf files themselves (like DocumentRoot and ServerRoot) but does not seem to work for command line args. Rob From: Dean Gaudet To: apbugs@apache.org Subject: Re: config/909: Configuration does not handle spaces in filenames properly. (fwd) Date: Thu, 24 Jul 1997 17:02:36 -0700 (PDT) Oh yeah, I'm rusty on these dos-relative operating systems. DOS/win/OS2 they all get the full command line without the benefit of proper parsing by a shell. I believe the cmdline() function returns the command line without the naive argv/argc busting that's passed to main(). Someone needs to write our own argv/argc buster. There may be a more intelligent one already in the Microsoft C library... I know there is a better one with WATCOM's C library. What a crock, eh? Dean Category-Changed-From-To: config-os-windows Category-Changed-By: coar Category-Changed-When: Thu Nov 13 09:55:25 PST 1997 State-Changed-From-To: analyzed-feedback State-Changed-By: coar State-Changed-When: Mon Nov 24 07:23:10 PST 1997 State-Changed-Why: Some work was done in this area for 1.3b3. Please test it with that version and let us know the results.. Release-Changed-From-To: 1.3a-1.3a1 Release-Changed-By: coar Release-Changed-When: Mon Nov 24 07:23:10 PST 1997 Severity-Changed-From-To: critical-serious Severity-Changed-By: coar Severity-Changed-When: Mon Nov 24 07:23:10 PST 1997 State-Changed-From-To: feedback-closed State-Changed-By: ben State-Changed-When: Sun Dec 14 07:02:54 PST 1997 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: