37 lines
926 B
Plaintext
37 lines
926 B
Plaintext
|
#====================================================================
|
||
|
# Apache configuration for LemonLDAP::NG sample applications
|
||
|
#====================================================================
|
||
|
|
||
|
# Uncomment this if no previous NameVirtualHost declaration
|
||
|
#NameVirtualHost __VHOSTLISTEN__
|
||
|
|
||
|
# Sample application
|
||
|
<VirtualHost __VHOSTLISTEN__>
|
||
|
ServerName test1.__DNSDOMAIN__
|
||
|
ServerAlias test2.__DNSDOMAIN__
|
||
|
|
||
|
# SSO protection
|
||
|
PerlHeaderParserHandler My::Package
|
||
|
|
||
|
# DocumentRoot
|
||
|
DocumentRoot __TESTDIR__
|
||
|
<Directory __TESTDIR__>
|
||
|
Order deny,allow
|
||
|
Allow from all
|
||
|
Options +ExecCGI
|
||
|
</Directory>
|
||
|
|
||
|
# Perl script (application test is written in Perl)
|
||
|
<Files *.pl>
|
||
|
SetHandler perl-script
|
||
|
PerlHandler Apache::Registry
|
||
|
</Files>
|
||
|
|
||
|
# Directory index
|
||
|
<IfModule mod_dir.c>
|
||
|
DirectoryIndex index.pl index.html
|
||
|
</IfModule>
|
||
|
|
||
|
</VirtualHost>
|
||
|
|