tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Riess" <>
Subject AW: jk2 uri mapping of SSL vhost
Date Tue, 08 Oct 2002 18:33:42 GMT
Just for clarity: I have an webapp that should work with or without SSL, so
I need a way to map URIs to that webapp without regard of the virtual host
it comes from. Alternatively, I could use two mappings for the two vhosts
(the default and the SSL host), but anyway: I would appreciate for any
suggestion for the right definitions.

Here's my guess #1 (doesn't work)


and guess #2 (doesn't work either)


Tried using * instead of IP (you guessed right ... doesn't work).


-----Ursprungliche Nachricht-----
Von: Mladen Turk []
Gesendet: Dienstag, 8. Oktober 2002 20:11
An: 'Tomcat Users List';
Betreff: RE: jk2 uri mapping of SSL vhost

> -----Original Message-----
> From: Michael Riess []
> Sent: Tuesday, October 08, 2002 12:52 PM
> To:
> Subject: jk2 uri mapping of SSL vhost
> If anyone knows how to map requests from a virtual host
> (*:443) to a context ... I would be very thankful for any hint.
> I use mod_jk2 2.0.0 with Apache 2.0.43, mapping via
> [uri:/xyz/*] works, but mapping via [uri:*:443] doesn't do
> anything ...
> question: shouldn't [uri:/xyz/*] map uris from any virtual
> host, not just the default one?

If you declared host with
Meaning any (virtual)hostname having port 443 then you have to specify
the mapping for such host.

Use the

Since you have declared host:port combination all the uri mappings needs
to be prefixed by that host:port.
This behavior is intentional cause you may wish not to map any context
on that host:port combination.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message