You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2008/04/14 00:22:24 UTC

svn commit: r647637 - /httpd/httpd/trunk/build/mkconfNW.awk

Author: fuankg
Date: Sun Apr 13 15:22:14 2008
New Revision: 647637

URL: http://svn.apache.org/viewvc?rev=647637&view=rev
Log:
enabled Perl CGIs by default.

Modified:
    httpd/httpd/trunk/build/mkconfNW.awk

Modified: httpd/httpd/trunk/build/mkconfNW.awk
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/mkconfNW.awk?rev=647637&r1=647636&r2=647637&view=diff
==============================================================================
--- httpd/httpd/trunk/build/mkconfNW.awk (original)
+++ httpd/httpd/trunk/build/mkconfNW.awk Sun Apr 13 15:22:14 2008
@@ -61,7 +61,7 @@
     print "#LoadModule asis_module modules/mod_asis.nlm"
     print "LoadModule autoindex_module modules/autoindex.nlm"
     print "#LoadModule cern_meta_module modules/cernmeta.nlm"
-    print "#LoadModule cgi_module modules/mod_cgi.nlm"
+    print "LoadModule cgi_module modules/mod_cgi.nlm"
     print "#LoadModule dav_module modules/mod_dav.nlm"
     print "#LoadModule dav_fs_module modules/moddavfs.nlm"
     print "#LoadModule dav_lock_module modules/moddavlk.nlm"
@@ -126,11 +126,20 @@
     sub(/@nonssl_.*@/,B[s],$0)
 }
 
+match ($0,/^<IfModule cgid_module>$/) {
+    print "#"
+    print "# CGIMapExtension: Technique for locating the interpreter for CGI scripts."
+    print "# The special interpreter path \"OS\" can be used for NLM CGIs."
+    print "#"
+    print "#CGIMapExtension OS .cgi"
+    print "CGIMapExtension SYS:/perl/Perlcgi/perlcgi.nlm .pl"
+    print ""
+}
+
 {
     print
 }
 
-
 END {
     if ((ARGV[1] ~ /httpd.conf.in/) && !BSDSKT) { 
        print ""
@@ -142,6 +151,6 @@
        print "# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)"
        print "#"
        print "#SecureListen "SSLPORT" \"SSL CertificateDNS\""
-       print ""
     }
+    print ""
 }