]> granicus.if.org Git - apache/commitdiff
Mention the "Windows ^N end-of-line character" problem
authorRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 17:29:54 +0000 (17:29 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 17:29:54 +0000 (17:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031092 13f79535-47bb-0310-9956-ffa450edef68

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

index 40b406bc66e2a712f15e3ac5489e605218a38105..a52422de913fc476709f544358ce37234d10f00e 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 3e6db04944dd3c937eef66cd105a579a4ce50464..c4df0a02d9ad0f8831dcd4a412221b1bed884011 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">