Apache 2.4 support
This commit is contained in:
parent
bdaa5960c2
commit
b6d8f995bc
|
@ -13,7 +13,7 @@ Alias /lam /usr/share/ldap-account-manager
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/lib/ldap-account-manager/internal>
|
<Directory /var/lib/ldap-account-manager/tmp/internal>
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
|
|
@ -95,6 +95,7 @@ if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
%if %is_suse
|
%if %is_suse
|
||||||
|
/usr/sbin/a2enmod version > /dev/null
|
||||||
/etc/init.d/apache2 reload
|
/etc/init.d/apache2 reload
|
||||||
%endif
|
%endif
|
||||||
%if %is_fedora
|
%if %is_fedora
|
||||||
|
|
|
@ -4,8 +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>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Allow from all
|
Allow from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
DirectoryIndex index.html
|
DirectoryIndex index.html
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
@ -15,37 +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>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/lib/ldap-account-manager/sess>
|
<Directory /var/lib/ldap-account-manager/sess>
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
<IfVersion < 2.3>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/lib/ldap-account-manager/config>
|
<Directory /var/lib/ldap-account-manager/config>
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
<IfVersion < 2.3>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /usr/share/ldap-account-manager/lib>
|
<Directory /usr/share/ldap-account-manager/lib>
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
<IfVersion < 2.3>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /usr/share/ldap-account-manager/help>
|
<Directory /usr/share/ldap-account-manager/help>
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
<IfVersion < 2.3>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /usr/share/ldap-account-manager/locale>
|
<Directory /usr/share/ldap-account-manager/locale>
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
<IfVersion < 2.3>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.3>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue