diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf
index a139a8782f..2fe7df456e 100644
--- a/etc/koha-httpd.conf
+++ b/etc/koha-httpd.conf
@@ -31,8 +31,7 @@
# Secure internal stuff
- Order deny,allow
- Deny from all
+ Require all denied
@@ -171,8 +170,7 @@
# Secure internal stuff
- Order deny,allow
- Deny from all
+ Require all denied