wood burning stoves*
The moose likes Java in General and the fly likes Web server config to redirect http request to https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Web server config to redirect http request to https" Watch "Web server config to redirect http request to https" New topic
Author

Web server config to redirect http request to https

shobhit bhargava
Greenhorn

Joined: Jun 05, 2003
Posts: 1
Hi
I am using iPlanet the requirement is to redirect all requests coming at http://www.sitesurl.com to https://www.sitesurl.com . From there on, the entire site is on https.
Any help is appriciated.
respond to vinsho2003@yahoo.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Welcome to the Ranch, shobhit!
You wrote:

This is not a good thing since no others who might have the same question would benefit from the answer.
Also, the Ranch has an HTML/Javascript Forum where non-Java questions like this would be more appropriate.
That said, one appraoch would be to place an index.html page in the folder where http://www.sitesurl.com resolves to, and use a meta tag within that page to immediately redirect to the https equivalent. Be sure that they are not the same page as you will create an endless cycle of redirects.
If you have any question regarding this technique, please feel free to post a question in the HTML forum (or ask a bartender to move this topic there).
There may also be container-specific ways to tell iPlanet to do this for you, but I wouldn't know about that. There is an "Other Servers" forum for those types of questions.
hth,
bear
[ June 05, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
hi:
please refer to:
Release Notes for iPlanet Portal Server 3.0;
NSAPI Programmer's Guide for iPlanet Web Server;
Extending Your Server With Programs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web server config to redirect http request to https
 
Similar Threads
Redirect a URL from http 9080 to https 9443
Force URL redirect from http to https?
Regarding Javacc
SJSAS on Eclipse 3.3
How is data protected using security mechanism