-
Notifications
You must be signed in to change notification settings - Fork 16
/
.htaccess
50 lines (44 loc) · 1.44 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Apache .htaccess for PukiWiki
#
# $Id: .htaccess,v 1.14.2 2006/08/06 23:25:00 upk Exp $
# Copyright (C)
# 2006 PukiWiki Plus! Developers Team
# 2002-2005 PukiWiki Developers Team
# 2001 Originally written by yu-ji
# License: GPL v2 or (at your option) any later version
#
# NOTE: Correct permission of this file 644(or 604)
## Access control by Order/Allow/Deny directives
## needs 'AllowOverride Limit' at httpd.conf
# Prohibit direct access to .htaccess, .htpasswd or others
# (If it's not set by default)
#<FilesMatch "^\.ht">
# Order allow,deny
# Deny from all
#</FilesMatch>
# Prohibit direct access
<FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
Order allow,deny
Deny from all
</FilesMatch>
## Authentication to this directory with basic-auth
## needs 'AllowOverride AuthConfig' at httpd.conf
#AuthType Basic
#AuthName "Authentication required"
#AuthUserFile /path/to/.htpasswd
#AuthGroupFile /dev/null
#Require valid-user
#AuthType Digest
#AuthName "PukiWikiAuth"
#AuthDigestProvider file
#AuthUserFile /path/to/.htdigest
#Require valid-user
#BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
## Using zlib.output_compression per directory (via .htaccess)
## needs 'AllowOverride Options' at httpd.conf
##
## NOTE:
## Define PKWK_ZLIB_LOADABLE_MODULE somewhere if you are using
## PHP extension as loadable module (especially FreeBSD ports)
## (See BugTrack/738 for detail)
#php_flag zlib.output_compression On