Re: apache pass ssl+http to tomcat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/30/07, Mike Grandmaison <java97301@xxxxxxxxx> wrote:

Hi,

I am trying to setup a tomcat web app in a hosted environment.  The hosted
environment uses apache and virtual hosts to pass requests for certain
domains onto tomcat.  I want tomcat to handle the ssl instead of having
apache decrypt and pass the http request to tomcat.  Do I need to use a
connector in order to accomplish this or can I do it through strict apache
configuration?

I initially tried mod_proxy which didn't tell tomcat about the ssl nature of
the request and since I am using an http to https redirect in tomcat an
infinite loop ensued.

I also tried mod_jk which worked but resulted in really bad performance
problems that disappeared when I took away mod_jk.

Can the connectors work and pass ssl requests unmodified to tomcat?

You can't do what you are trying to do. Passing SSL without decrypting
it to tomcat is something that can't be done with apache. How is
apache to know what to do with a request when the request is just a
stream of apparently random noise?

It is also something you don't need apache for. Just do a port forward
on the OS level.

Krist

--
krist.vanbesien@xxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux