From: Rich Bowen Date: Thu, 4 Nov 2010 17:29:54 +0000 (+0000) Subject: Mention the "Windows ^N end-of-line character" problem X-Git-Tag: 2.3.9~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=579b6d0f58a39fd59683f04c2d73dca0166359da;p=thirdparty%2Fapache%2Fhttpd.git Mention the "Windows ^N end-of-line character" problem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031092 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/cgi.html.en b/docs/manual/howto/cgi.html.en index 40b406bc66e..a52422de913 100644 --- a/docs/manual/howto/cgi.html.en +++ b/docs/manual/howto/cgi.html.en @@ -346,6 +346,15 @@

In addition, if your CGI program depends on other environment variables, you will need to assure that those variables are passed by Apache.

+
+ When editing CGI scripts on Windows, end-of-line characters may be + appended to the interpreter path. Ensure that files are then + transferred to the server in ASCII mode. Failure to do so may + result in "Command not found" warnings from the OS, due to the + unrecognized end-of-line character being interpreted as a part of + the interpreter filename. +
+

Program errors

diff --git a/docs/manual/howto/cgi.xml b/docs/manual/howto/cgi.xml index 3e6db04944d..c4df0a02d9a 100644 --- a/docs/manual/howto/cgi.xml +++ b/docs/manual/howto/cgi.xml @@ -357,6 +357,15 @@ href="#env">environment variables, you will need to assure that those variables are passed by Apache.

+ + When editing CGI scripts on Windows, end-of-line characters may be + appended to the interpreter path. Ensure that files are then + transferred to the server in ASCII mode. Failure to do so may + result in "Command not found" warnings from the OS, due to the + unrecognized end-of-line character being interpreted as a part of + the interpreter filename. + +