Mercurial > repos > other > Puppet
comparison modules/website/files/zzz-custom.conf @ 25:13adb555a7e2 puppet-3.6
Use "<IfVersion>" to handle auth differences between 2.2 and 2.4
Also, add Nano, because damnit vi!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 09 Mar 2015 00:58:19 +0000 |
parents | 956e484adc12 |
children | 5c7fc7b7262c |
comparison
equal
deleted
inserted
replaced
24:204330fea19a | 25:13adb555a7e2 |
---|---|
41 MaxKeepAliveRequests 50 | 41 MaxKeepAliveRequests 50 |
42 | 42 |
43 Header unset ETag | 43 Header unset ETag |
44 FileETag None | 44 FileETag None |
45 | 45 |
46 | |
46 <Location /.hg/> | 47 <Location /.hg/> |
48 <IfVersion < 2.4> | |
47 Order Allow,Deny | 49 Order Allow,Deny |
48 Deny from all | 50 Deny from all |
51 </IfVersion> | |
52 <IfVersion >= 2.4> | |
53 Require all denied | |
54 </IfVersion> | |
49 </Location> | 55 </Location> |
50 <FilesMatch ^\.> | 56 <FilesMatch ^\.> |
57 <IfVersion < 2.4> | |
51 Order Allow,Deny | 58 Order Allow,Deny |
52 Deny from all | 59 Deny from all |
60 </IfVersion> | |
61 <IfVersion >= 2.4> | |
62 Require all denied | |
63 </IfVersion> | |
53 </FilesMatch> | 64 </FilesMatch> |
54 |