2 # $Id: .htaccess,v 1.11 2005/04/24 11:52:37 henoheno Exp $
4 # NOTE: Correct permission of this file 644(or 604)
6 ## Access control by Order/Allow/Deny directives
7 ## needs 'AllowOverride Limit' at httpd.conf
9 # Prohibit direct access to .htaccess, .htpasswd or others
10 # (If it's not set by default)
16 # Prohibit direct access
17 <FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
22 ## Access control to this directory via Basic-auth
23 ## needs 'AllowOverride AuthConfig' at httpd.conf
25 #AuthName "Authentication required"
26 #AuthUserFile /server's/absolute/path/to/.htpasswd
27 #AuthGroupFile /dev/null
30 ## Using zlib.output_compression per directory (via .htaccess)
31 ## needs 'AllowOverride Options' at httpd.conf
34 ## Define PKWK_ZLIB_LOADABLE_MODULE somewhere if you are using
35 ## PHP extension as loadable module (especially FreeBSD ports)
36 ## (See BugTrack/738 for detail)
37 #php_flag zlib.output_compression On