Terminate SSL and forward to Tomcat

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

 



I have an installation of Tomcat with named vhosts.
I need an Apache webserver as the front-end to do the following:

  a) Require HTTPS for all URLs under /secure/
  b) for all requests of the form https://host/secure(/*),
         - terminate SSL 
         -  rewrite the URL to add a Host entry 
         - finally forward it to the local Tomcat instance.

I am not certain about how to direct Apache to terminate SSL first and
then do a URL rewrite. Is the following configuration typical?


RewriteEngine On
RewriteLogLevel 9
RewriteRule "^/secure(/.*)" "http://%{HTTP_HOST}$1"; [R,L]

Now that I have enforces SSL on the request https://host/secure/...,
I want to the request (after SSL termination) to be redirected to
http://host:8080/secure/...

How can I accomplish this?

Tx

/U


    
   
-- 
View this message in context: http://www.nabble.com/Terminate-SSL-and-forward-to-Tomcat-tp24749444p24749444.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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