]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix up the Perl example for nph-script detection (PR#789).
authorKen Coar <coar@apache.org>
Thu, 26 Jun 1997 12:17:20 +0000 (12:17 +0000)
committerKen Coar <coar@apache.org>
Thu, 26 Jun 1997 12:17:20 +0000 (12:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78371 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/FAQ.html

index 4183ee6f4ba72fd9e3c3962a9b8b5655bf5ac14b..6f4ba117325ebb1e3c55eab1c9272211d08c6090 100644 (file)
@@ -15,7 +15,7 @@
   <!--#include virtual="header.html" -->
   <H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
   <P>
-  $Revision: 1.73 $ ($Date: 1997/06/21 18:56:36 $)
+  $Revision: 1.74 $ ($Date: 1997/06/26 12:17:20 $)
   </P>
   <P>
   The latest version of this FAQ is always available from the main
   </P>
   <P>
   <DL>
-   <DD><CODE>if ($0 =~ m:/*nph-:) {
+   <DD><CODE>if ($0 =~ m:^(.*/)*nph-[^/]*$:) {
     <BR>
     &nbsp;&nbsp;&nbsp;&nbsp;
     $HTTP_headers&nbsp;=&nbsp;
     &quot;Connection:&nbsp;close\015\012&quot;;
     <BR>
     &nbsp;&nbsp;&nbsp;&nbsp;
-    printf&nbsp;($HTTP_headers);
+    print&nbsp;$HTTP_headers;
     <BR>
-    };</CODE>
+    }</CODE>
    </DD>
   </DL>
   </P>