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 Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Joy Nelson <joy@bywatersolutions.com> (cherry picked from commitc0422998f8) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit97df645697) Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
This commit is contained in:
parent
25a2a70963
commit
88b0ba01e9
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue