From f86802b4f3a9790e23f65874057fec4e3c127a3a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 30 Jun 2014 22:16:16 +0200 Subject: [PATCH] Add apache conf for fr-doc --- .../etc/httpd/conf/httpd.conf/LemonLDAPManager/80LemonLDAPManager | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPManager/80LemonLDAPManager b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPManager/80LemonLDAPManager index f8651bb..8ec7268 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPManager/80LemonLDAPManager +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPManager/80LemonLDAPManager @@ -51,6 +51,7 @@ EOF # On-line documentation Alias /doc/ /var/lib/lemonldap-ng/doc/ + Alias /fr-doc/ /var/lib/lemonldap-ng/fr-doc/ Alias /lib/ /var/lib/lemonldap-ng/doc/lib/ Order deny,allow @@ -59,6 +60,13 @@ EOF Options +FollowSymlinks DirectoryIndex index.pl index.html + + Order deny,allow + Allow from all + ErrorDocument 404 /notfound.html + Options +FollowSymlinks + DirectoryIndex index.pl index.html + # Perl script # Note: to avoid manager stay in memory, we don't use ModPerl::Registry