]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-mod_access.conf
up to 1.4.42
[packages/lighttpd.git] / lighttpd-mod_access.conf
index ec92c9b26ba8b6810ad1ac56f0af6ffe5abe4db2..0cf6c795032cb1bb6aa8aaa241153c8b37fd3097 100644 (file)
@@ -1,3 +1,20 @@
+# Access module.
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccess
+
 server.modules += (
        "mod_access"
 )
+
+## deny access the file-extensions
+#
+# ~    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
+# *,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.129612 seconds and 4 git commands to generate.