• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revision2d0e00ee8707307c6bba9ab1b8abde2aa562a6e7 (tree)
Time2020-01-31 00:34:33
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack/2495 .htaccess files in Apache 2.4 format

Change Summary

Incremental Difference

--- a/.htaccess
+++ b/.htaccess
@@ -1,27 +1,24 @@
11 # Apache .htaccess for PukiWiki
22 #
3-# $Id: .htaccess,v 1.14 2005/04/29 11:51:31 henoheno Exp $
4-# Copyright (C)
5-# 2002-2005 PukiWiki Developers Team
3+# Copyright
4+# 2002-2020 PukiWiki Development Team
65 # 2001 Originally written by yu-ji
76 # License: GPL v2 or (at your option) any later version
87 #
98 # NOTE: Correct permission of this file 644(or 604)
109
11-## Access control by Order/Allow/Deny directives
10+## Access control by Require directive
1211 ## needs 'AllowOverride Limit' at httpd.conf
1312
1413 # Prohibit direct access to .htaccess, .htpasswd or others
1514 # (If it's not set by default)
1615 #<FilesMatch "^\.ht">
17-# Order allow,deny
18-# Deny from all
16+# Require all denied
1917 #</FilesMatch>
2018
2119 # Prohibit direct access
2220 <FilesMatch "\.(ini\.php|lng\.php|txt|gz|tgz|zip)$">
23- Order allow,deny
24- Deny from all
21+ Require all denied
2522 </FilesMatch>
2623
2724 ## Authentication to this directory with basic-auth
--- a/attach/.htaccess
+++ b/attach/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/backup/.htaccess
+++ b/backup/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/cache/.htaccess
+++ b/cache/.htaccess
@@ -1,7 +1,6 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
32
43 # Amazon plugin's Image cache
54 <FilesMatch "^ASIN.*\.jpg$">
6- Allow from all
5+ Require all granted
76 </FilesMatch>
--- a/counter/.htaccess
+++ b/counter/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/diff/.htaccess
+++ b/diff/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/lib/.htaccess
+++ b/lib/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/plugin/.htaccess
+++ b/plugin/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/skin/.htaccess
+++ b/skin/.htaccess
@@ -1,4 +1,3 @@
11 <FilesMatch "\.(skin\.php)$">
2- Order allow,deny
3- Deny from all
2+ Require all denied
43 </FilesMatch>
--- a/wiki.en/.htaccess
+++ b/wiki.en/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied
--- a/wiki/.htaccess
+++ b/wiki/.htaccess
@@ -1,2 +1 @@
1-Order allow,deny
2-Deny from all
1+Require all denied