Author: glen Date: Thu Apr 16 07:13:59 2009 GMT Module: SOURCES Tag: HEAD ---- Log message: - deny access to CVS files
---- Files affected: SOURCES: lighttpd-mod_access.conf (1.3 -> 1.4) ---- Diffs: ================================================================ Index: SOURCES/lighttpd-mod_access.conf diff -u SOURCES/lighttpd-mod_access.conf:1.3 SOURCES/lighttpd-mod_access.conf:1.4 --- SOURCES/lighttpd-mod_access.conf:1.3 Mon Jul 17 18:41:11 2006 +++ SOURCES/lighttpd-mod_access.conf Thu Apr 16 09:13:53 2009 @@ -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 @@ # ~ 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 = ("") +} ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/lighttpd-mod_access.conf?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
