* Delete application menu XML and DTD file * Manage Apache Version and Vhost Listen IP and Port * Split Apache configuration into portal/manager/handler filesenvironments/ppa-mbqj77/deployments/1
parent
03fb551475
commit
60501cb715
@ -1,129 +0,0 @@ |
||||
NameVirtualHost * |
||||
|
||||
# Perl environment |
||||
PerlRequire __HANDLER__ |
||||
<Files ~ "\.(pl)$"> |
||||
SetHandler perl-script |
||||
PerlHandler Apache::Registry |
||||
</Files> |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
# Common error page and security parameters |
||||
ErrorDocument 403 http://auth.__DNSDOMAIN__/error.pl?error=403 |
||||
ErrorDocument 500 http://auth.__DNSDOMAIN__/error.pl?error=500 |
||||
ServerSignature Off |
||||
LogLevel warn |
||||
|
||||
# Portal virtual host |
||||
<VirtualHost *> |
||||
ServerName auth.__DNSDOMAIN__ |
||||
|
||||
# DocumentRoot |
||||
DocumentRoot __PORTALDIR__ |
||||
<Directory __PORTALDIR__> |
||||
Order allow,deny |
||||
Allow from all |
||||
Options +ExecCGI |
||||
</Directory> |
||||
|
||||
# SOAP functions for sessions management (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/adminSessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for sessions access (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/sessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for configuration access (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/config> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for notification insertion (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/notification> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
</VirtualHost> |
||||
|
||||
# Manager virtual host |
||||
<VirtualHost *> |
||||
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> |
||||
|
||||
</VirtualHost> |
||||
|
||||
# Application Test |
||||
<VirtualHost *> |
||||
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> |
||||
|
||||
# Configuration reload mechanism (only 1 per physical server is |
||||
# needed): choose your URL to avoid restarting Apache when |
||||
# configuration change |
||||
<Location /reload> |
||||
Order deny,allow |
||||
Deny from all |
||||
Allow from 127.0.0.0/8 |
||||
PerlHeaderParserHandler My::Package->refresh |
||||
</Location> |
||||
|
||||
# Uncomment this to activate status module |
||||
#<Location /status> |
||||
# Order deny,allow |
||||
# Deny from all |
||||
# Allow from 127.0.0.0/8 |
||||
# PerlHeaderParserHandler My::Package->status |
||||
#</Location> |
||||
|
||||
</VirtualHost> |
||||
|
||||
############################################## |
||||
## Best performance under ModPerl::Registry ## |
||||
############################################## |
||||
|
||||
# Uncomment this to increase performance of Portal: |
||||
<Perl> |
||||
require Lemonldap::NG::Portal::SharedConf; |
||||
Lemonldap::NG::Portal::SharedConf->compile( |
||||
qw(delete header cache read_from_client cookie redirect unescapeHTML)); |
||||
# Uncomment this line if you use Lemonldap::NG menu |
||||
require Lemonldap::NG::Portal::Menu; |
||||
# Uncomment this line if you use portal SOAP capabilities |
||||
require SOAP::Lite; |
||||
</Perl> |
||||
|
@ -1,138 +0,0 @@ |
||||
NameVirtualHost * |
||||
|
||||
# Perl environment |
||||
PerlRequire __HANDLER__ |
||||
PerlOptions +GlobalRequest |
||||
<Files ~ "\.(pl)$"> |
||||
SetHandler perl-script |
||||
PerlHandler ModPerl::Registry |
||||
PerlSendHeader On |
||||
</Files> |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
# Common error page and security parameters |
||||
ErrorDocument 403 http://auth.__DNSDOMAIN__/error.pl?error=403 |
||||
ErrorDocument 500 http://auth.__DNSDOMAIN__/error.pl?error=500 |
||||
ServerSignature Off |
||||
LogLevel warn |
||||
|
||||
# Portal virtual host |
||||
<VirtualHost *> |
||||
ServerName auth.__DNSDOMAIN__ |
||||
|
||||
# DocumentRoot |
||||
DocumentRoot __PORTALDIR__ |
||||
<Directory __PORTALDIR__> |
||||
Order allow,deny |
||||
Allow from all |
||||
Options +ExecCGI |
||||
Options FollowSymLinks |
||||
</Directory> |
||||
|
||||
# SOAP functions for sessions management (disabled by default) |
||||
<Directory __PORTALDIR__index.pl/adminSessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for sessions access (disabled by default) |
||||
<Directory __PORTALDIR__index.pl/sessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for configuration access (disabled by default) |
||||
<Directory __PORTALDIR__index.pl/config> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for notification insertion (disabled by default) |
||||
<Directory __PORTALDIR__index.pl/notification> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SAML URL rewriting |
||||
RewriteEngine On |
||||
RewriteRule ^/saml/metadata /metadata.pl |
||||
RewriteRule ^/saml/.* /index.pl |
||||
|
||||
</VirtualHost> |
||||
|
||||
# Manager virtual host |
||||
<VirtualHost *> |
||||
ServerName manager.__DNSDOMAIN__ |
||||
|
||||
# DocumentRoot |
||||
DocumentRoot __MANAGERDIR__ |
||||
<Directory __MANAGERDIR__> |
||||
Order deny,allow |
||||
Deny from all |
||||
Allow from 127.0.0.0/8 |
||||
Options +ExecCGI |
||||
Options FollowSymLinks |
||||
</Directory> |
||||
|
||||
# On-line documentation |
||||
Alias /doc/ __DOCDIR__ |
||||
<Directory __DOCDIR__> |
||||
Order deny,allow |
||||
Allow from all |
||||
</Directory> |
||||
|
||||
</VirtualHost> |
||||
|
||||
# Application Test |
||||
<VirtualHost *> |
||||
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> |
||||
|
||||
# Configuration reload mechanism (only 1 per physical server is |
||||
# needed): choose your URL to avoid restarting Apache when |
||||
# configuration change |
||||
<Location /reload> |
||||
Order deny,allow |
||||
Deny from all |
||||
Allow from 127.0.0.0/8 |
||||
PerlHeaderParserHandler My::Package->refresh |
||||
</Location> |
||||
|
||||
# Uncomment this to activate status module |
||||
#<Location /status> |
||||
# Order deny,allow |
||||
# Deny from all |
||||
# Allow from 127.0.0.0/8 |
||||
# PerlHeaderParserHandler My::Package->status |
||||
#</Location> |
||||
|
||||
</VirtualHost> |
||||
|
||||
############################################## |
||||
## Best performance under ModPerl::Registry ## |
||||
############################################## |
||||
|
||||
## Uncomment this to increase performance of Portal: |
||||
<Perl> |
||||
require Lemonldap::NG::Portal::SharedConf; |
||||
Lemonldap::NG::Portal::SharedConf->compile( |
||||
qw(delete header cache read_from_client cookie redirect unescapeHTML)); |
||||
# Uncomment this line if you use Lemonldap::NG menu |
||||
require Lemonldap::NG::Portal::Menu; |
||||
# Uncomment this line if you use portal SOAP capabilities |
||||
#require SOAP::Lite; |
||||
</Perl> |
||||
|
@ -1,14 +0,0 @@ |
||||
<!ELEMENT menu (category*) > |
||||
|
||||
<!ELEMENT category (application*, category*) > |
||||
<!ATTLIST category name CDATA #REQUIRED > |
||||
|
||||
<!ELEMENT application (name, uri?, description?, logo?, screenshot?, display?, application*) > |
||||
<!ATTLIST application id ID #REQUIRED > |
||||
|
||||
<!ELEMENT name ( #PCDATA ) > |
||||
<!ELEMENT uri ( #PCDATA ) > |
||||
<!ELEMENT description ( #PCDATA ) > |
||||
<!ELEMENT logo ( #PCDATA ) > |
||||
<!ELEMENT screenshot ( #PCDATA ) > |
||||
<!ELEMENT display ( #PCDATA ) > |
@ -1,55 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
||||
<!DOCTYPE menu SYSTEM "apps-list.dtd"> |
||||
|
||||
<menu> |
||||
<category name="Example"> |
||||
<application id="test1"> |
||||
<name>Application Test 1</name> |
||||
<uri>http://test1.__DNSDOMAIN__/</uri> |
||||
<description>A simple application displaying authenticated user</description> |
||||
<logo>wheels.png</logo> |
||||
<display>auto</display> |
||||
</application> |
||||
<application id="test2"> |
||||
<name>Application Test 2</name> |
||||
<uri>http://test2.__DNSDOMAIN__/</uri> |
||||
<description>The same simple application displaying authenticated user</description> |
||||
<logo>wheels.png</logo> |
||||
<display>auto</display> |
||||
</application> |
||||
</category> |
||||
|
||||
<category name="Administration"> |
||||
<application id="manager"> |
||||
<name>WebSSO Manager</name> |
||||
<uri>http://manager.__DNSDOMAIN__/</uri> |
||||
<description>Configure LemonLDAP::NG WebSSO</description> |
||||
<logo>tools.png</logo> |
||||
<display>on</display> |
||||
</application> |
||||
<application id="sessions"> |
||||
<name>Sessions explorer</name> |
||||
<uri>http://manager.__DNSDOMAIN__/sessions.pl</uri> |
||||
<description>Explore WebSSO sessions</description> |
||||
<logo>tools.png</logo> |
||||
<display>on</display> |
||||
</application> |
||||
</category> |
||||
|
||||
<category name="Documentation"> |
||||
<application id="localdoc"> |
||||
<name>Local documentation</name> |
||||
<uri>http://manager.__DNSDOMAIN__/doc/</uri> |
||||
<description>Documentation supplied with LemonLDAP::NG</description> |
||||
<logo>docs.png</logo> |
||||
<display>on</display> |
||||
</application> |
||||
<application id="officialwebsite"> |
||||
<name>Offical Website</name> |
||||
<uri>http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation</uri> |
||||
<description>Official LemonLDAP::NG Website</description> |
||||
<logo>web.png</logo> |
||||
<display>on</display> |
||||
</application> |
||||
</category> |
||||
</menu> |
@ -0,0 +1,61 @@ |
||||
#==================================================================== |
||||
# Apache configuration for LemonLDAP::NG Handler |
||||
#==================================================================== |
||||
|
||||
# Uncomment this if no previous NameVirtualHost declaration |
||||
#NameVirtualHost __VHOSTLISTEN__ |
||||
|
||||
# Load LemonLDAP::NG Handler |
||||
PerlRequire __HANDLER__ |
||||
|
||||
# Common error page and security parameters |
||||
ErrorDocument 403 http://auth.__DNSDOMAIN__/error.pl?error=403 |
||||
ErrorDocument 500 http://auth.__DNSDOMAIN__/error.pl?error=500 |
||||
|
||||
# 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> |
||||
|
||||
# Configuration reload mechanism (only 1 per physical server is |
||||
# needed): choose your URL to avoid restarting Apache when |
||||
# configuration change |
||||
<Location /reload> |
||||
Order deny,allow |
||||
Deny from all |
||||
Allow from 127.0.0.0/8 |
||||
PerlHeaderParserHandler My::Package->refresh |
||||
</Location> |
||||
|
||||
# Uncomment this to activate status module |
||||
#<Location /status> |
||||
# Order deny,allow |
||||
# Deny from all |
||||
# Allow from 127.0.0.0/8 |
||||
# PerlHeaderParserHandler My::Package->status |
||||
#</Location> |
||||
|
||||
</VirtualHost> |
||||
|
@ -0,0 +1,62 @@ |
||||
#==================================================================== |
||||
# Apache configuration for LemonLDAP::NG Handler |
||||
#==================================================================== |
||||
|
||||
# Uncomment this if no previous NameVirtualHost declaration |
||||
#NameVirtualHost __VHOSTLISTEN__ |
||||
|
||||
# Load LemonLDAP::NG Handler |
||||
PerlOptions +GlobalRequest |
||||
PerlRequire __HANDLER__ |
||||
|
||||
# Common error page and security parameters |
||||
ErrorDocument 403 http://auth.__DNSDOMAIN__/error.pl?error=403 |
||||
ErrorDocument 500 http://auth.__DNSDOMAIN__/error.pl?error=500 |
||||
|
||||
# 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 |
||||
PerlResponseHandler ModPerl::Registry |
||||
</Files> |
||||
|
||||
# Directory index |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
# Configuration reload mechanism (only 1 per physical server is |
||||
# needed): choose your URL to avoid restarting Apache when |
||||
# configuration change |
||||
<Location /reload> |
||||
Order deny,allow |
||||
Deny from all |
||||
Allow from 127.0.0.0/8 |
||||
PerlHeaderParserHandler My::Package->refresh |
||||
</Location> |
||||
|
||||
# Uncomment this to activate status module |
||||
#<Location /status> |
||||
# Order deny,allow |
||||
# Deny from all |
||||
# Allow from 127.0.0.0/8 |
||||
# PerlHeaderParserHandler My::Package->status |
||||
#</Location> |
||||
|
||||
</VirtualHost> |
||||
|
@ -0,0 +1,40 @@ |
||||
#==================================================================== |
||||
# 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 |
||||
PerlHandler Apache::Registry |
||||
</Files> |
||||
|
||||
# Directory index |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
</VirtualHost> |
||||
|
@ -0,0 +1,40 @@ |
||||
#==================================================================== |
||||
# 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> |
||||
|
@ -0,0 +1,75 @@ |
||||
#==================================================================== |
||||
# Apache configuration for LemonLDAP::NG Portal |
||||
#==================================================================== |
||||
|
||||
# Uncomment this if no previous NameVirtualHost declaration |
||||
#NameVirtualHost __VHOSTLISTEN__ |
||||
|
||||
# Portal Virtual Host (auth.__DNSDOMAIN__) |
||||
<VirtualHost __VHOSTLISTEN__> |
||||
ServerName auth.__DNSDOMAIN__ |
||||
|
||||
# DocumentRoot |
||||
DocumentRoot __PORTALDIR__ |
||||
<Directory __PORTALDIR__> |
||||
Order allow,deny |
||||
Allow from all |
||||
Options +ExecCGI |
||||
</Directory> |
||||
|
||||
# Perl script |
||||
<Files *.pl> |
||||
SetHandler perl-script |
||||
PerlHandler Apache::Registry |
||||
</Files> |
||||
|
||||
# Directory index |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
# SOAP functions for sessions management (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/adminSessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for sessions access (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/sessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for configuration access (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/config> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for notification insertion (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/notification> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SAML2 |
||||
<IfModule mod_rewrite.c> |
||||
RewriteEngine On |
||||
RewriteRule ^/saml/metadata /metadata.pl |
||||
RewriteRule ^/saml/.* /index.pl |
||||
</IfModule> |
||||
|
||||
</VirtualHost> |
||||
|
||||
# Best performance under ModPerl::Registry |
||||
# Uncomment this to increase performance of Portal |
||||
<Perl> |
||||
require Lemonldap::NG::Portal::SharedConf; |
||||
Lemonldap::NG::Portal::SharedConf->compile( |
||||
qw(delete header cache read_from_client cookie redirect unescapeHTML)); |
||||
# Uncomment this line if you use Lemonldap::NG menu |
||||
require Lemonldap::NG::Portal::Menu; |
||||
# Uncomment this line if you use portal SOAP capabilities |
||||
require SOAP::Lite; |
||||
</Perl> |
||||
|
@ -0,0 +1,75 @@ |
||||
#==================================================================== |
||||
# Apache configuration for LemonLDAP::NG Portal |
||||
#==================================================================== |
||||
|
||||
# Uncomment this if no previous NameVirtualHost declaration |
||||
#NameVirtualHost __VHOSTLISTEN__ |
||||
|
||||
# Portal Virtual Host (auth.__DNSDOMAIN__) |
||||
<VirtualHost __VHOSTLISTEN__> |
||||
ServerName auth.__DNSDOMAIN__ |
||||
|
||||
# DocumentRoot |
||||
DocumentRoot __PORTALDIR__ |
||||
<Directory __PORTALDIR__> |
||||
Order allow,deny |
||||
Allow from all |
||||
Options +ExecCGI |
||||
</Directory> |
||||
|
||||
# Perl script |
||||
<Files *.pl> |
||||
SetHandler perl-script |
||||
PerlResponseHandler ModPerl::Registry |
||||
</Files> |
||||
|
||||
# Directory index |
||||
<IfModule mod_dir.c> |
||||
DirectoryIndex index.pl index.html |
||||
</IfModule> |
||||
|
||||
# SOAP functions for sessions management (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/adminSessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for sessions access (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/sessions> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for configuration access (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/config> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SOAP functions for notification insertion (disabled by default) |
||||
<Directory __PORTALDIR__/index.pl/notification> |
||||
Order deny,allow |
||||
Deny from all |
||||
</Directory> |
||||
|
||||
# SAML2 |
||||
<IfModule mod_rewrite.c> |
||||
RewriteEngine On |
||||
RewriteRule ^/saml/metadata /metadata.pl |
||||
RewriteRule ^/saml/.* /index.pl |
||||
</IfModule> |
||||
|
||||
</VirtualHost> |
||||
|
||||
# Best performance under ModPerl::Registry |
||||
# Uncomment this to increase performance of Portal |
||||
<Perl> |
||||
require Lemonldap::NG::Portal::SharedConf; |
||||
Lemonldap::NG::Portal::SharedConf->compile( |
||||
qw(delete header cache read_from_client cookie redirect unescapeHTML)); |
||||
# Uncomment this line if you use Lemonldap::NG menu |
||||
require Lemonldap::NG::Portal::Menu; |
||||
# Uncomment this line if you use portal SOAP capabilities |
||||
require SOAP::Lite; |
||||
</Perl> |
||||
|
Loading…
Reference in new issue