X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=.htaccess;h=00252628ddd9e1e94186e3a140c927b06640022e;hb=refs%2Fheads%2Fbugtrack_560_tracker_list7;hp=9d6a1fe084a9ef7fa25e316ca5df411c53dd2e0b;hpb=fc0af1827a7ee61645045f5c51b8107aca091df1;p=pukiwiki%2Fpukiwiki.git diff --git a/.htaccess b/.htaccess index 9d6a1fe..0025262 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,42 @@ - - php_flag register_globals Off - +# Apache .htaccess for PukiWiki +# +# $Id: .htaccess,v 1.14 2005/04/29 11:51:31 henoheno Exp $ +# Copyright (C) +# 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) +# +# Order allow,deny +# Deny from all +# + +# Prohibit direct access + + Order allow,deny + Deny from all + + +## 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 + +## 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