You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by David Sparks <da...@ActiveState.com> on 2001/02/22 00:04:16 UTC
config/7290: httpd.conf has an error in the suggested usage
>Number: 7290
>Category: config
>Synopsis: httpd.conf has an error in the suggested usage
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: apache
>Arrival-Date: Wed Feb 21 15:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: daves@ActiveState.com
>Release: 1.3.17
>Organization:
apache
>Environment:
All Windows
>Description:
httpd.conf says:
# Apache parses all CGI scripts for the shebang line by default.
# This comment line, the first line of the script, consists of the symbols
# pound (#) and exclamation (!) followed by the path of the program that
# can execute this specific script. For a perl script, with perl.exe in
# the C:\Program Files\Perl directory, the shebang line should be:
#!c:/program files/perl/perl
--cut---
This is bad bad advice. Perl has bugs that prevent it from working properly when installed into a path with spaces on *ALL* platforms (linux, freebsd included).
>How-To-Repeat:
vi httpd.conf
>Fix:
s/Program Files\\//ig
>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! ]