I have been using Apache/2.2.3 and Tomcat 5.5 as standalone servers. I'm
adding ssl with mod_jk and mod_proxy_ajp to access tomcat via ssl.

I access my static content and cgi via [url]http://www.mydomain.com/[/url] and use
mod_rewrite in .htaccess to redirect to https. This works fine as desired.

I can access my webapp via [url]http://www.mydomain.com:8080/MyWebApp[/url], and this
is the url users have book marked. This continues to work. I can also access
[url]https://www.mydomain.com/MyWebApp[/url].

What I'd like to do is force a redirect from
[url]http://www.mydomain.com:8080/MyWebApp[/url] to [url]https://www.mydomain.com/MyWebApp[/url]

I have been using Apache/2.2.3 and Tomcat 5.5 as standalone servers. I'm
adding ssl with mod_jk and mod_proxy_ajp to access tomcat via ssl.

I access my static content and cgi via [url]http://www.mydomain.com/[/url] and use
mod_rewrite in .htaccess to redirect to https. This works fine as desired.

I can access my webapp via [url]http://www.mydomain.com:8080/MyWebApp[/url], and this
is the url users have book marked. This continues to work. I can also access
[url]https://www.mydomain.com/MyWebApp[/url].

What I'd like to do is force a redirect from
[url]http://www.mydomain.com:8080/MyWebApp[/url] to [url]https://www.mydomain.com/MyWebApp[/url]