1 # Apache .htaccess for PukiWiki
3 # $Id: .htaccess,v 1.14 2005/04/29 11:51:31 henoheno Exp $
5 # 2002-2005 PukiWiki Developers Team
6 # 2001 Originally written by yu-ji
7 # License: GPL v2 or (at your option) any later version
9 # NOTE: Correct permission of this file 644(or 604)
11 ## Access control by Order/Allow/Deny directives
12 ## needs 'AllowOverride Limit' at httpd.conf
14 # Prohibit direct access to .htaccess, .htpasswd or others
15 # (If it's not set by default)
21 # Prohibit direct access
22 <FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
27 ## Authentication to this directory with basic-auth
28 ## needs 'AllowOverride AuthConfig' at httpd.conf
30 #AuthName "Authentication required"
31 #AuthUserFile /path/to/.htpasswd
32 #AuthGroupFile /dev/null
35 ## Using zlib.output_compression per directory (via .htaccess)
36 ## needs 'AllowOverride Options' at httpd.conf
39 ## Define PKWK_ZLIB_LOADABLE_MODULE somewhere if you are using
40 ## PHP extension as loadable module (especially FreeBSD ports)
41 ## (See BugTrack/738 for detail)
42 #php_flag zlib.output_compression On