]>
Commit | Line | Data |
---|---|---|
1efd0147 ER |
1 | # Access module. |
2 | # | |
b0f8b537 | 3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess |
1efd0147 | 4 | |
7d3968ad ER |
5 | server.modules += ( |
6 | "mod_access" | |
7 | ) | |
693950e2 ER |
8 | |
9 | ## deny access the file-extensions | |
10 | # | |
11 | # ~ is for backupfiles from vi, emacs, joe, ... | |
12 | # .inc is often used for code includes which should in general not be part | |
13 | # of the document-root | |
b0f8b537 ER |
14 | # *,v and *,t - CVS files |
15 | url.access-deny = ( "~", ".inc", ",v", ",t" ) | |
16 | ||
17 | $HTTP["url"] =~ "(?:CVS|RCS)" { | |
18 | url.access-deny = ("") | |
19 | } |