OSDN Git Service

BugTrack/2387 tracker form layout
[pukiwiki/pukiwiki.git] / .htaccess
index f38c623..40f2e3e 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,29 +1,31 @@
-# Apache .htaccess
-# $Id: .htaccess,v 1.11 2005/04/24 11:52:37 henoheno Exp $
+# Apache .htaccess for PukiWiki
+#
+# Copyright
+#   2002-2020 PukiWiki Development 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
+## Access control by Require directive
 ## needs 'AllowOverride Limit' at httpd.conf
 
 # Prohibit direct access to .htaccess, .htpasswd or others
 # (If it's not set by default)
 #<FilesMatch "^\.ht">
-#      Order allow,deny
-#      Deny from all
+#  Require all denied
 #</FilesMatch>
 
 # Prohibit direct access
 <FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
-       Order allow,deny
-       Deny from all
+  Require all denied
 </FilesMatch>
 
-## Access control to this directory via Basic-auth
+## Authentication to this directory with basic-auth
 ## needs 'AllowOverride AuthConfig' at httpd.conf
 #AuthType Basic
 #AuthName      "Authentication required"
-#AuthUserFile  /server's/absolute/path/to/.htpasswd
+#AuthUserFile  /path/to/.htpasswd
 #AuthGroupFile /dev/null
 #Require       valid-user