Commit b12aaa6f authored by Xavier Guimard's avatar Xavier Guimard

- Location instead of Directory (bad usage)

- No pre-load by default
parent 8e3986d7
......@@ -29,28 +29,28 @@
</IfModule>
# SOAP functions for sessions management (disabled by default)
<Directory __PORTALDIR__/index.pl/adminSessions>
<Location /index.pl/adminSessions>
Order deny,allow
Deny from all
</Directory>
</Location>
# SOAP functions for sessions access (disabled by default)
<Directory __PORTALDIR__/index.pl/sessions>
<Location /index.pl/sessions>
Order deny,allow
Deny from all
</Directory>
</Location>
# SOAP functions for configuration access (disabled by default)
<Directory __PORTALDIR__/index.pl/config>
<Location /index.pl/config>
Order deny,allow
Deny from all
</Directory>
</Location>
# SOAP functions for notification insertion (disabled by default)
<Directory __PORTALDIR__/index.pl/notification>
<Location /index.pl/notification>
Order deny,allow
Deny from all
</Directory>
</Location>
# SAML2 Issuer
<IfModule mod_rewrite.c>
......@@ -76,12 +76,12 @@
# 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));
#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;
#require Lemonldap::NG::Portal::Menu;
# Uncomment this line if you use portal SOAP capabilities
require SOAP::Lite;
#require SOAP::Lite;
</Perl>
......@@ -23,34 +23,33 @@
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>
<Location /index.pl/adminSessions>
Order deny,allow
Deny from all
</Directory>
</Location>
# SOAP functions for sessions access (disabled by default)
<Directory __PORTALDIR__/index.pl/sessions>
<Location /index.pl/sessions>
Order deny,allow
Deny from all
</Directory>
</Location>
# SOAP functions for configuration access (disabled by default)
<Directory __PORTALDIR__/index.pl/config>
<Location /index.pl/config>
Order deny,allow
Deny from all
</Directory>
</Location>
# SOAP functions for notification insertion (disabled by default)
<Directory __PORTALDIR__/index.pl/notification>
<Location /index.pl/notification>
Order deny,allow
Deny from all
</Directory>
</Location>
# SAML2 Issuer
<IfModule mod_rewrite.c>
......@@ -73,15 +72,18 @@
</VirtualHost>
# Best performance under ModPerl::Registry
# Uncomment this to increase performance of Portal
##############################################
## 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));
#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;
#require Lemonldap::NG::Portal::Menu;
# Uncomment this line if you use portal SOAP capabilities
require SOAP::Lite;
#require SOAP::Lite;
</Perl>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment