2006/ack .htaccess,1.1,1.2

Update of /sources/public/2006/ack
In directory hutz:/tmp/cvs-serv24680

Modified Files:
	.htaccess 
Log Message:
Use mod_perl if available.

Index: .htaccess
===================================================================
RCS file: /sources/public/2006/ack/.htaccess,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .htaccess	11 Apr 2006 19:06:05 -0000	1.1
+++ .htaccess	22 May 2006 20:41:19 -0000	1.2
@@ -1,3 +1,16 @@
 DirectoryIndex ack.pl
-Options +ExecCGI 
-AddHandler cgi-script .pl
+
+<FilesMatch "\.pl$">
+
+<IfModule !mod_perl.c>
+  Options             +ExecCGI
+  SetHandler          cgi-script
+</IfModule>
+
+<IfModule mod_perl.c>
+  SetHandler          perl-script
+  PerlResponseHandler ModPerl::Registry
+  PerlOptions         +ParseHeaders
+</IfModule>
+
+</FilesMatch>

Received on Monday, 22 May 2006 20:41:29 UTC