]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Mention the Windows end-of-line character problem.
authorRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 17:30:36 +0000 (17:30 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 17:30:36 +0000 (17:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1031093 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/cgi.html.en
docs/manual/howto/cgi.xml

index e1bd7064d10188497a6ea1f6f9b12a50a4cb7642..c5cfd3406e4ea64802dd37560af8051652ecab06 100644 (file)
       <p>In addition, if your CGI program depends on other <a href="#env">environment variables</a>, you will need to
       assure that those variables are passed by Apache.</p>
 
+      <div class="warning">
+      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.
+      </div>
+
     
 
     <h3><a name="syntaxerrors" id="syntaxerrors">Program errors</a></h3>
index 92c507775aecdfc2e555ceff642056ba63463b80..44ceffecd5752c52e8b8d4204c9bfec1cdfa9cf3 100644 (file)
       href="#env">environment variables</a>, you will need to
       assure that those variables are passed by Apache.</p>
 
+      <note type="warning">
+      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.
+      </note>
+
     </section>
 
     <section id="syntaxerrors">