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. Quote Link to comment 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..... Quote Link to comment 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/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.