manager-apache.conf 478 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<VirtualHost *>
    ServerName manager.example.com

    # DocumentRoot
    DocumentRoot /var/lib/lemonldap-ng/manager
    <Directory /var/lib/lemonldap-ng/manager>
	Order deny,allow
	Deny from all
	Allow from 127.0.0.0/8
	Options +ExecCGI
    </Directory>

    # Manager 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>