Upgrade apache config for 2.4 support

This commit is contained in:
2016-05-02 12:19:24 +01:00
parent f46648d4c0
commit 84f00126e1

View File

@@ -12,8 +12,7 @@
<Directory "<%= @install_dir %>/htdocs<%= @base_path %>">
AllowOverride None
Options +FollowSymLinks
Order Allow,Deny
Allow from All
Require all granted
<%- if @auth_type == 'authldap' && @use_sso -%>
AuthType Basic
@@ -37,24 +36,19 @@
# Explicitly deny access to all code and configuration directories
<Directory "<%= @install_dir %>/htdocs<%= @base_path %>/inc">
Order Deny,Allow
Deny from all
Require all denied
</Directory>
<Directory "<%= @install_dir %>/htdocs<%= @base_path %>/inc/lang">
Order Deny,Allow
Deny from all
Require all denied
</Directory>
<Directory "<%= @install_dir %>/htdocs<%= @base_path %>/lib/_fla">
## no access to the fla directory
Order allow,deny
Deny from all
Require all denied
</Directory>
<Directory /etc/dokuwiki>
Order Deny,Allow
Deny from all
Require all denied
</Directory>
</VirtualHost>