File: manager-apache.conf

package info (click to toggle)
lemonldap-ng 0.9.2-1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,680 kB
  • ctags: 662
  • sloc: perl: 5,009; makefile: 214; sql: 69; sh: 63; xml: 41
file content (24 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (2)
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>