]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- deny access to CVS files
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 16 Apr 2009 07:13:53 +0000 (07:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-mod_access.conf -> 1.4

lighttpd-mod_access.conf

index f0cf99330466aabeb229c36bc0c3be6e17d29697..c057dac529928b14400a9417b45a6a528243bffb 100644 (file)
@@ -1,6 +1,6 @@
 # Access module.
 #
-# Documentation: http://www.lighttpd.net/documentation/access.html
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
 
 server.modules += (
        "mod_access"
@@ -11,4 +11,9 @@ server.modules += (
 # ~    is for backupfiles from vi, emacs, joe, ...
 # .inc is often used for code includes which should in general not be part
 #      of the document-root
-url.access-deny = ( "~", ".inc" )
+# *,v and *,t - CVS files
+url.access-deny = ( "~", ".inc", ",v", ",t" )
+
+$HTTP["url"] =~ "(?:CVS|RCS)" {
+       url.access-deny = ("")
+}
This page took 0.0625 seconds and 4 git commands to generate.