OSDN Git Service

Cleanup. Cleanup comments. Some Japanese => English.
[pukiwiki/pukiwiki.git] / .htaccess
index 9d6a1fe..a33c04a 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,9 @@
-<IfModule mod_php4.c>\r
-    php_flag register_globals Off\r
-</IfModule>\r
+## Access control needs 'AllowOverride Limit' at httpd.conf.
+<FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
+       Order allow,deny
+       Deny from all
+</FilesMatch>
+
+## Using zlib.output_compression per directory (via .htaccess),
+## needs 'AllowOverride Options' at httpd.conf.
+#php_flag zlib.output_compression On