Commit d91a2fd7 authored by Richard Bowen's avatar Richard Bowen
Browse files

Mention the Windows end-of-line character problem.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1031093 13f79535-47bb-0310-9956-ffa450edef68
parent c83abf8d
Loading
Loading
Loading
Loading
+9 −0
Changes for docs/manual/howto/cgi.html.en: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -334,6 +334,15 @@
      <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>
+9 −0
Changes for docs/manual/howto/cgi.xml: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -346,6 +346,15 @@
      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">