parent
f993e2e6dd
commit
5de0094095
@ -0,0 +1,39 @@ |
||||
#==================================================================== |
||||
# 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 Lemonldap::NG::Handler::DefaultHandler |
||||
|
||||
# DocumentRoot |
||||
DocumentRoot __TESTDIR__ |
||||
<Directory __TESTDIR__> |
||||
Require all granted |
||||
Options +ExecCGI |
||||
</Directory> |
||||
|
||||
# Perl script (application test is written in Perl) |
||||
<Files *.pl> |
||||
SetHandler perl-script |
||||
PerlResponseHandler ModPerl::Registry |
||||
|
||||
# Display Menu |
||||
PerlOutputFilterHandler Lemonldap::NG::Handler::Menu |
||||
|
||||
</Files> |
||||
|
||||
# Directory index |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
</VirtualHost> |
||||
|
Loading…
Reference in new issue