[opencms-dev] v6: extend multi-site mapping (auth/authnot)
Jack Bakker
jbakker at iable.ca
Thu Apr 28 04:55:38 CEST 2005
clicked send accidentally, sorry; completion below
apache -> tomcat
I have several apache virtual hosts -> mod_jk -> tomcat virtual hosts (eg:
xxx.domain.com)
in tomcat for each virtual host there is a default context (xxx.domain.com),
and a context (xxx.domain.com/opencms) which points to the opencms app
multiple virtual hosts in tomcat point to ONE opencms app
(/webapps/opencms/)
opencms/WEB-INF/config/opencms-system.xml has multi-site mappings for each
virtual host
works well but...
-------
some virtual hosts are intranet only and require auth (tomcat realm) others
are open without security-constraint
putting security-constraint in web.xml of opencms doesn't cater to mix of
some requiring auth and others not
Question is: any way to intercept and redirect on a opencms-system.xml entry
for a site (including all subfolder URLs) to a URL which requires auth by a
security-constraint mapping in tomcat's server.xml ?
Jack
More information about the opencms-dev
mailing list