- 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> </IfModule>
# SOAP functions for sessions management (disabled by default) # SOAP functions for sessions management (disabled by default)
<Directory __PORTALDIR__/index.pl/adminSessions> <Location /index.pl/adminSessions>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SOAP functions for sessions access (disabled by default) # SOAP functions for sessions access (disabled by default)
<Directory __PORTALDIR__/index.pl/sessions> <Location /index.pl/sessions>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SOAP functions for configuration access (disabled by default) # SOAP functions for configuration access (disabled by default)
<Directory __PORTALDIR__/index.pl/config> <Location /index.pl/config>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SOAP functions for notification insertion (disabled by default) # SOAP functions for notification insertion (disabled by default)
<Directory __PORTALDIR__/index.pl/notification> <Location /index.pl/notification>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SAML2 Issuer # SAML2 Issuer
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
@ -76,12 +76,12 @@
# Best performance under ModPerl::Registry # Best performance under ModPerl::Registry
# Uncomment this to increase performance of Portal # Uncomment this to increase performance of Portal
<Perl> <Perl>
require Lemonldap::NG::Portal::SharedConf; #require Lemonldap::NG::Portal::SharedConf;
Lemonldap::NG::Portal::SharedConf->compile( #Lemonldap::NG::Portal::SharedConf->compile(
qw(delete header cache read_from_client cookie redirect unescapeHTML)); # qw(delete header cache read_from_client cookie redirect unescapeHTML));
# Uncomment this line if you use Lemonldap::NG menu # 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 # Uncomment this line if you use portal SOAP capabilities
require SOAP::Lite; #require SOAP::Lite;
</Perl> </Perl>

View File

@ -23,34 +23,33 @@
PerlResponseHandler ModPerl::Registry PerlResponseHandler ModPerl::Registry
</Files> </Files>
# Directory index
<IfModule mod_dir.c> <IfModule mod_dir.c>
DirectoryIndex index.pl index.html DirectoryIndex index.pl index.html
</IfModule> </IfModule>
# SOAP functions for sessions management (disabled by default) # SOAP functions for sessions management (disabled by default)
<Directory __PORTALDIR__/index.pl/adminSessions> <Location /index.pl/adminSessions>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SOAP functions for sessions access (disabled by default) # SOAP functions for sessions access (disabled by default)
<Directory __PORTALDIR__/index.pl/sessions> <Location /index.pl/sessions>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SOAP functions for configuration access (disabled by default) # SOAP functions for configuration access (disabled by default)
<Directory __PORTALDIR__/index.pl/config> <Location /index.pl/config>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SOAP functions for notification insertion (disabled by default) # SOAP functions for notification insertion (disabled by default)
<Directory __PORTALDIR__/index.pl/notification> <Location /index.pl/notification>
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directory> </Location>
# SAML2 Issuer # SAML2 Issuer
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
@ -73,15 +72,18 @@
</VirtualHost> </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> <Perl>
require Lemonldap::NG::Portal::SharedConf; #require Lemonldap::NG::Portal::SharedConf;
Lemonldap::NG::Portal::SharedConf->compile( #Lemonldap::NG::Portal::SharedConf->compile(
qw(delete header cache read_from_client cookie redirect unescapeHTML)); # qw(delete header cache read_from_client cookie redirect unescapeHTML));
# Uncomment this line if you use Lemonldap::NG menu # 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 # Uncomment this line if you use portal SOAP capabilities
require SOAP::Lite; #require SOAP::Lite;
</Perl> </Perl>