[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Using Apache in front of Tomcat, Apache with SSL redirecting to Tomcat with http  XML
Forum Index -> Deployment
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

this is some configuration hint for the scenario:

Apache in front of Tomcat,
Apache providing SSL (https://...) to outside
Tomcat being accessed through normal http


The set up of an own certificate is described very nicely here:
http://rubayathasan.com/tutorial/apache-ssl-on-windows/


The redirecting is done by the rewrite module. In the concrete example that I attached the "/demos/"-URLs are redirected to a Tomcat running on port 50000.

The rewrite definitions neet to be done in the virtualhost definition for ssl as well! - just take a look into the attached files. There is a mark "########## begin" and "########## end" around the changes I applied.

Regards, Björn


PS: I am no Apache expert at all!!! Do not see this info as the only way to do it... this is one way I found, after a lot of trial and error...
 Filename httpd-ssl.conf [Disk] Download
 Description
 Filesize 11 Kbytes
 Downloaded:  505 time(s)

 Filename httpd.conf [Disk] Download
 Description
 Filesize 18 Kbytes
 Downloaded:  563 time(s)


Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team