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