source:
lab.git/TipAndDoc/apache2/conf.d/denydot
@
6473c3b
Last change on this file since 6473c3b 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.