]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-mod_access.conf
add config for mod_geoip
[packages/lighttpd.git] / lighttpd-mod_access.conf
index dbd3f24f981aef8d6dde1c78a578b64137ffab9c..0cf6c795032cb1bb6aa8aaa241153c8b37fd3097 100644 (file)
@@ -1,3 +1,7 @@
+# Access module.
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccess
+
 server.modules += (
        "mod_access"
 )
@@ -7,5 +11,10 @@ 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" )
 
+# forbid access to files inside CVS or RCS dirs
+$HTTP["url"] =~ "/(?:CVS|RCS)/" {
+       url.access-deny = ("")
+}
This page took 0.051312 seconds and 4 git commands to generate.