24 lines
449 B
Plaintext
24 lines
449 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
|
|
PerlHandler Apache::Registry
|
|
</Files>
|
|
|
|
<IfModule mod_dir.c>
|
|
DirectoryIndex index.pl index.html
|
|
</IfModule>
|
|
|
|
</VirtualHost>
|
|
|