OSDN Git Service

BugTrack/2495 .htaccess files in Apache 2.4 format bugtrack_2495_apache24_htaccess
authorumorigu <umorigu@gmail.com>
Thu, 30 Jan 2020 15:34:33 +0000 (00:34 +0900)
committerumorigu <umorigu@gmail.com>
Thu, 30 Jan 2020 15:34:33 +0000 (00:34 +0900)
.htaccess
attach/.htaccess
backup/.htaccess
cache/.htaccess
counter/.htaccess
diff/.htaccess
lib/.htaccess
plugin/.htaccess
skin/.htaccess
wiki.en/.htaccess
wiki/.htaccess

index 0025262..40f2e3e 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,27 +1,24 @@
 # Apache .htaccess for PukiWiki
 #
-# $Id: .htaccess,v 1.14 2005/04/29 11:51:31 henoheno Exp $
-# Copyright (C)
-#   2002-2005 PukiWiki Developers Team
+# 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>
 
 ## Authentication to this directory with basic-auth
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index a3c4e50..2d7e05e 100644 (file)
@@ -1,7 +1,6 @@
-Order allow,deny
-Deny from all
+Require all denied
 
 # Amazon plugin's Image cache
 <FilesMatch "^ASIN.*\.jpg$">
-       Allow from all
+  Require all granted
 </FilesMatch>
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index 0007e48..8571675 100644 (file)
@@ -1,4 +1,3 @@
 <FilesMatch "\.(skin\.php)$">
-        Order allow,deny
-        Deny from all
+  Require all denied
 </FilesMatch>
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied
index cb24fd7..b66e808 100644 (file)
@@ -1,2 +1 @@
-Order allow,deny
-Deny from all
+Require all denied