lemonldap-ng/build/lemonldap-ng/debian/portal-apache2.conf

24 lines
458 B
Plaintext

<VirtualHost *>
ServerName auth.example.com
# DocumentRoot
DocumentRoot /var/lib/lemonldap-ng/portal
<Directory /var/lib/lemonldap-ng/portal>
Order allow,deny
Allow from all
Options +ExecCGI
</Directory>
# Portal must be interpreted by Perl
<Files *.pl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
</Files>
<IfModule mod_dir.c>
DirectoryIndex index.pl index.html
</IfModule>
</VirtualHost>