41 lines
957 B
Plaintext
41 lines
957 B
Plaintext
#====================================================================
|
|
# Apache configuration for LemonLDAP::NG Manager
|
|
#====================================================================
|
|
|
|
# Uncomment this if no previous NameVirtualHost declaration
|
|
#NameVirtualHost __VHOSTLISTEN__
|
|
|
|
# Manager virtual host (manager.__DNSDOMAIN__)
|
|
<VirtualHost __VHOSTLISTEN__>
|
|
ServerName manager.__DNSDOMAIN__
|
|
|
|
# DocumentRoot
|
|
DocumentRoot __MANAGERDIR__
|
|
<Directory __MANAGERDIR__>
|
|
Order deny,allow
|
|
Deny from all
|
|
Allow from 127.0.0.0/8
|
|
Options +ExecCGI
|
|
</Directory>
|
|
|
|
# On-line documentation
|
|
Alias /doc/ __DOCDIR__
|
|
<Directory __DOCDIR__>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
|
|
# Perl script
|
|
<Files *.pl>
|
|
SetHandler perl-script
|
|
PerlResponseHandler ModPerl::Registry
|
|
</Files>
|
|
|
|
# Directory index
|
|
<IfModule mod_dir.c>
|
|
DirectoryIndex index.pl index.html
|
|
</IfModule>
|
|
|
|
</VirtualHost>
|
|
|