Easiest is probably to use a:
  <security-constraint>
     <web-resource-collection>
        <web-resource-name>SSL area</web-resource-name>
        <url-pattern>/online/*</url-pattern>
     </web-resource-collection>
     <user-data-constraint>
        <transport-guarantee>INTEGRAL</transport-guarantee>
     </user-data-constraint>
  </security-constraint>

in your web.xml file.  An alternative methed for your config would be:
  RewriteRule /online/.* https://my.server.name/online/$1 [R]

"Kai Schliemann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello list,
>
> I have the following problem:
>
> I'm running Apache 1.3.27 on Suse Linux 8.2 (Server 1) and Tomcat 4.1.24
on
> Suse Linux 8.2 (Server 2).
> I'm using mod_jk as connector for Apache/Tomcat which works fine without
> SSL-configuration.
>
> My JAVA-Webapp is running on Tomcat (Server 2).
> I can connect to my JAVA-Webapp through the URL http://www.foo.com/.
> Now I want a subdirectory (online) of this webapp to run in ssl-mode (e.g.
> https://www.foo.com/online/).
> I just want the directory "online" (and all of its subdirectories) to be
> ssl-encrypted not the complete domain "www.foo.com".
>
> How can I do that?
>
> Thanks in advance.
>
> Kai




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to