steveswt Posted August 14, 2006 Share Posted August 14, 2006 I have a secure site with links to unsecure hard coded http links. Obviously that will not do, so i need to be able to rerwrite any non-secure pages to http and vise versa when they come back.I am running apache tomcat/ java serveri am figuring a .htaccess file might do, but im not sure where to start.can someone help me with this? thanks!i noticed bankofamerica.com has the same functionallity that i want. Once logged in, all links are https, but if you go to sitemap page the https will rewrite to http. Link to comment https://forums.phpfreaks.com/topic/17541-https-to-http-rewrite-help/ Share on other sites More sharing options...
steveswt Posted August 16, 2006 Author Share Posted August 16, 2006 ok i added <%= request.getContextPath() %> to get the path instead of hard coding, now i just need to find out how to control what pages are forced to https and http..... Link to comment https://forums.phpfreaks.com/topic/17541-https-to-http-rewrite-help/#findComment-75796 Share on other sites More sharing options...
pmeasham Posted August 30, 2006 Share Posted August 30, 2006 Have you had a look at mod rewrite for apache ?http://httpd.apache.org/docs/2.0/misc/rewriteguide.htmlhttp://www.modrewrite.com/ Link to comment https://forums.phpfreaks.com/topic/17541-https-to-http-rewrite-help/#findComment-82941 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.