Add apache conf for fr-doc

This commit is contained in:
Daniel Berteaud 2014-06-30 22:16:16 +02:00
parent ce38597574
commit f86802b4f3
1 changed files with 8 additions and 0 deletions

View File

@ -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/
<Directory /var/lib/lemonldap-ng/doc/>
Order deny,allow
@ -59,6 +60,13 @@ EOF
Options +FollowSymlinks
DirectoryIndex index.pl index.html
</Directory>
<Directory /var/lib/lemonldap-ng/fr-doc/>
Order deny,allow
Allow from all
ErrorDocument 404 /notfound.html
Options +FollowSymlinks
DirectoryIndex index.pl index.html
</Directory>
# Perl script
# Note: to avoid manager stay in memory, we don't use ModPerl::Registry