SOURCES: lxr-httpd.conf (NEW) - apache 2.x config

baggins baggins at pld-linux.org
Thu Feb 23 19:05:52 CET 2006


Author: baggins                      Date: Thu Feb 23 18:05:52 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- apache 2.x config

---- Files affected:
SOURCES:
   lxr-httpd.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/lxr-httpd.conf
diff -u /dev/null SOURCES/lxr-httpd.conf:1.1
--- /dev/null	Thu Feb 23 19:05:52 2006
+++ SOURCES/lxr-httpd.conf	Thu Feb 23 19:05:47 2006
@@ -0,0 +1,28 @@
+Alias /lxr /usr/share/lxr/
+
+<Directory /usr/share/lxr>
+	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
+		ForceType text/html
+		PerlResponseHandler ModPerl::Registry
+		PerlOptions +ParseHeaders
+	</Files>
+</IfModule>
+
+<IfModule !mod_perl.c>
+	<Files ~ (find|search|source|ident|diff)$>
+		SetHandler cgi-script
+		ForceType text/html
+	</Files>
+</IfModule>
+</Directory>
================================================================


More information about the pld-cvs-commit mailing list