Bugzilla – Attachment 97294 Details for
Bug 17464
Order deny,allow / Deny from all was deprecated in Apache 2.4 and is now a hard error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17464: Order deny,allow / Deny from all was deprecated in Apache 2.4 and is now a hard error
Bug-17464-Order-denyallow--Deny-from-all-was-depre.patch (text/plain), 1.24 KB, created by
David Cook
on 2020-01-13 06:11:26 UTC
(
hide
)
Description:
Bug 17464: Order deny,allow / Deny from all was deprecated in Apache 2.4 and is now a hard error
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-01-13 06:11:26 UTC
Size:
1.24 KB
patch
obsolete
>From 1ec4b0df6b019ddbfbe74ca311d584401c377c5f Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 13 Jan 2020 17:05:17 +1100 >Subject: [PATCH] Bug 17464: Order deny,allow / Deny from all was deprecated in > Apache 2.4 and is now a hard error > >Patch change Apache access control from 2.2 to 2.4 directives. > >Test plan: >0. Apply patch >1. Build Koha from source >2. Copy or symlink koha-dev/etc/koha-httpd.conf into your relevant >Apache directory. >3. Reload Apache >4. Note a lack of syntax errors regarding the "Order" directive >--- > etc/koha-httpd.conf | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index d0f619efdb..d21fe50415 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -31,8 +31,7 @@ > > # Secure internal stuff > <DirectoryMatch "__OPAC_WWW_DIR__/.*/(modules|xslt|includes)"> >- Order deny,allow >- Deny from all >+ Require all denied > </DirectoryMatch> > > <IfModule mod_gzip.c> >@@ -171,8 +170,7 @@ > > # Secure internal stuff > <DirectoryMatch "__INTRANET_WWW_DIR__/.*/(modules|xslt|includes)"> >- Order deny,allow >- Deny from all >+ Require all denied > </DirectoryMatch> > > <IfModule mod_gzip.c> >-- >2.16.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17464
:
97294
|
99679
|
99839