redirect port
"Tim Hester" <[email protected]> Thu, 17 Jul 2008 10:38:11 -0500
| Newsgroups | gmane.comp.apache.mod-ssl.user |
|---|---|
| Organization | Impeva Labs, Inc |
| Message-ID | <049b01c8e823$3b285ee0$0f1aa8c0@IMPDELL30> |
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 http://www.mydomain.com/ and use mod_rewrite in .htaccess to redirect to https. This works fine as desired. I can access my webapp via http://www.mydomain.com:8080/MyWebApp, and this is the url users have book marked. This continues to work. I can also access https://www.mydomain.com/MyWebApp. What I'd like to do is force a redirect from http://www.mydomain.com:8080/MyWebApp to https://www.mydomain.com/MyWebApp Note; tomcat is not under the apache webroot Any assistance appreciated. Thanks Tim