- Location instead of Directory (bad usage)

- No pre-load by default
This commit is contained in:
Xavier Guimard 2010-10-31 10:34:27 +00:00
parent 8e3986d75e
commit b12aaa6f5d
2 changed files with 31 additions and 29 deletions

View File

@ -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>

View File

@ -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>