SOURCES: lxr-apache.conf - .htaccess stuff included

baggins baggins at pld-linux.org
Thu Feb 23 19:06:10 CET 2006


Author: baggins                      Date: Thu Feb 23 18:06:10 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- .htaccess stuff included

---- Files affected:
SOURCES:
   lxr-apache.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/lxr-apache.conf
diff -u SOURCES/lxr-apache.conf:1.1 SOURCES/lxr-apache.conf:1.2
--- SOURCES/lxr-apache.conf:1.1	Wed Feb 22 15:11:20 2006
+++ SOURCES/lxr-apache.conf	Thu Feb 23 19:06:05 2006
@@ -1,6 +1,28 @@
 Alias /lxr /usr/share/lxr/
 
 <Directory /usr/share/lxr>
-	AllowOverride All
 	DirectoryIndex source
+	Options Indexes ExecCGI FollowSymlinks
+
+	order deny,allow
+
+	<Files ~ (.*\.conf|.*\.pm|genxref)$>
+		deny from all
+	</Files>
+
+<IfModule mod_perl.c>
+	<Files ~ (find|search|source|ident|diff)$>
+		SetHandler perl-script
+		PerlHandler Apache::Registry
+		ForceType text/html
+		PerlSendHeader On
+	</Files>
+</IfModule>
+
+<IfModule !mod_perl.c>
+	<Files ~ (find|search|source|ident|diff)$>
+		SetHandler cgi-script
+		ForceType text/html
+	</Files>
+</IfModule>
 </Directory>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lxr-apache.conf?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list