# Access module.
#
-# Documentation: http://www.lighttpd.net/documentation/access.html
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
server.modules += (
"mod_access"
# ~ 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 = ("")
+}