tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Szmajda ...@t-nation.com>
Subject Re: Tomcat, Apache connected in interesting way
Date Tue, 23 Nov 2004 18:08:49 GMT
Both are on the same server, yes. They are however listening on 
different IP addresses. If needed, you could set the tomcat http 
connector to listen on a different port and adjust the rewrite rule 
accordingly.

As far as SSL goes, the SSL encryption will be in place from the client 
to apache, but not from apache to tomcat. This is ok because apache and 
tomcat are both in the same trusted subnet (in fact, on the same 
machine). If that weren't the case, you could alter the rewrite rule on 
the SSL vhost to send requests to tomcat's ssl connector, thereby 
encrypting all connections.

-Josh

> Joshua -
>
> Are tomcat and apache running on the same server? If so, it appears 
> from what you have here that they are on the same port...so...what am 
> I missing?
>
> Also, how do you handle .jsps and .dos that need to be handled by 
> Tomcat securely (using SSL). This seems to pass them all off to the 
> non-secure version. Would it just be a more complex RewriteRule that 
> tests for https vs. http?
>
>
>
> Thanks,
> Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message