Apache 2.4 support

master
Roland Gruber 10 years ago
parent 9c2a727e7a
commit b4f41ca543

@ -4,8 +4,13 @@ Alias /lam /usr/share/ldap-account-manager
<Directory /usr/share/ldap-account-manager>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<IfVersion < 2.3>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
DirectoryIndex index.html
</Directory>
@ -15,37 +20,67 @@ Alias /lam /usr/share/ldap-account-manager
<Directory /var/lib/ldap-account-manager/tmp/internal>
Options -Indexes
Order allow,deny
Deny from all
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
</Directory>
<Directory /var/lib/ldap-account-manager/sess>
Options -Indexes
Order allow,deny
Deny from all
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
</Directory>
<Directory /var/lib/ldap-account-manager/config>
Options -Indexes
Order allow,deny
Deny from all
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
</Directory>
<Directory /usr/share/ldap-account-manager/lib>
Options -Indexes
Order allow,deny
Deny from all
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
</Directory>
<Directory /usr/share/ldap-account-manager/help>
Options -Indexes
Order allow,deny
Deny from all
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
</Directory>
<Directory /usr/share/ldap-account-manager/locale>
Options -Indexes
Order allow,deny
Deny from all
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
</Directory>

Loading…
Cancel
Save