1 # Apache .htaccess for PukiWiki
4 # 2002-2020 PukiWiki Development Team
5 # 2001 Originally written by yu-ji
6 # License: GPL v2 or (at your option) any later version
8 # NOTE: Correct permission of this file 644(or 604)
10 ## Access control by Require directive
11 ## needs 'AllowOverride Limit' at httpd.conf
13 # Prohibit direct access to .htaccess, .htpasswd or others
14 # (If it's not set by default)
19 # Prohibit direct access
20 <FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
24 ## Authentication to this directory with basic-auth
25 ## needs 'AllowOverride AuthConfig' at httpd.conf
27 #AuthName "Authentication required"
28 #AuthUserFile /path/to/.htpasswd
29 #AuthGroupFile /dev/null
32 ## Using zlib.output_compression per directory (via .htaccess)
33 ## needs 'AllowOverride Options' at httpd.conf
36 ## Define PKWK_ZLIB_LOADABLE_MODULE somewhere if you are using
37 ## PHP extension as loadable module (especially FreeBSD ports)
38 ## (See BugTrack/738 for detail)
39 #php_flag zlib.output_compression On