aspose file tools*
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

Web server config to redirect http request to https

shobhit bhargava

Joined: Jun 05, 2003
Posts: 1
I am using iPlanet the requirement is to redirect all requests coming at to . From there on, the entire site is on https.
Any help is appriciated.
respond to
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60057

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 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.
[ 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
please refer to:
Release Notes for iPlanet Portal Server 3.0;
NSAPI Programmer's Guide for iPlanet Web Server;
Extending Your Server With Programs
It is sorta covered in the JavaRanch Style Guide.
subject: Web server config to redirect http request to https
Similar Threads
How is data protected using security mechanism
SJSAS on Eclipse 3.3
Redirect a URL from http 9080 to https 9443
Force URL redirect from http to https?
Regarding Javacc