CaptainCasa
Power User
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 |
Download
|
Description |
|
Filesize |
11 Kbytes
|
Downloaded: |
505 time(s) |
Filename |
httpd.conf |
Download
|
Description |
|
Filesize |
18 Kbytes
|
Downloaded: |
563 time(s) |
|