source:
lab.git/TipAndDoc/apache2/conf.d/denydot
@
74ab10f
Last change on this file since 74ab10f was e135cc7, checked in by mitty <mitty@…>, 14 years ago | |
---|---|
|
|
File size: 225 bytes |
Rev | Line | |
---|---|---|
[e135cc7] | 1 | # prevent files and directories started with 'dot' (ex: .svn/) |
2 | # from being viewed | |
3 | ||
4 | <FilesMatch "^\."> | |
5 | Order Allow,Deny | |
6 | Deny from all | |
7 | </FilesMatch> | |
8 | ||
9 | <DirectoryMatch "/\."> | |
10 | Order Allow,Deny | |
11 | Deny from all | |
12 | </DirectoryMatch> |
Note: See TracBrowser
for help on using the repository browser.