]>
Commit | Line | Data |
---|---|---|
1 | # Access module. | |
2 | # | |
3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccess | |
4 | ||
5 | server.modules += ( | |
6 | "mod_access" | |
7 | ) | |
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 | |
14 | # *,v and *,t - CVS files | |
15 | url.access-deny = ( "~", ".inc", ",v", ",t" ) | |
16 | ||
17 | # forbid access to files inside CVS or RCS dirs | |
18 | $HTTP["url"] =~ "/(?:CVS|RCS)/" { | |
19 | url.access-deny = ("") | |
20 | } |