From 53ef19f2686c60706d726898372d983324fc8ad6 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Thu, 4 Nov 2010 17:30:36 +0000
Subject: [PATCH] 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
---
docs/manual/howto/cgi.html.en | 9 +++++++++
docs/manual/howto/cgi.xml | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/docs/manual/howto/cgi.html.en b/docs/manual/howto/cgi.html.en
index e1bd7064d10..c5cfd3406e4 100644
--- a/docs/manual/howto/cgi.html.en
+++ b/docs/manual/howto/cgi.html.en
@@ -334,6 +334,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.
+
+
diff --git a/docs/manual/howto/cgi.xml b/docs/manual/howto/cgi.xml
index 92c507775ae..44ceffecd57 100644
--- a/docs/manual/howto/cgi.xml
+++ b/docs/manual/howto/cgi.xml
@@ -346,6 +346,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.
+
+