blob: f2c0ee84a78a7331c2463b33ad02b57abf476624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# This file is local/.htaccess -- the default distribution contains this
# file to prevent local/ scripts from being accessed directly by browsers
# (this is a potential, albeit very unlikely, security hole).
#
# If you alter or replace this file, it will likely be overwritten when
# you upgrade from one version of PmWiki to another. Be sure to save
# a copy of your alterations in another location so you can restore them,
# and you might try changing this file to be read-only to prevent a PmWiki
# upgrade from overwriting your altered version.
<IfModule !mod_authz_host.c>
Order Deny,Allow
Deny from all
</IfModule>
<IfModule mod_authz_host.c>
Require all denied
</IfModule>
|