use IfModule instead of IfVersion

This commit is contained in:
Roland Gruber 2015-01-09 21:56:19 +00:00
parent 42abddfc7c
commit 4ce3c72cab
2 changed files with 56 additions and 56 deletions

View File

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

View File

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