Upgrade apache config for 2.4 support
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user