use IfModule instead of IfVersion
This commit is contained in:
parent
42abddfc7c
commit
4ce3c72cab
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue