In your index.html page for your non-secure port put in some javascript like
the following:

<script language="JavaScript">
<!--  
 top.location.href = "https://mysecuredomain.com";;
  -->
</script>

That is how I have done it anyway. . .

Aaron Bartell

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Nathan Simpson
Sent: Wednesday, January 28, 2004 7:08 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Force the use of SSL connection


Hi,
 
We are running iSeries Apache with Websphere Express 5.0 and HATSLE.
 
We have obtained a Verisign certificate but I want the web server to only 
connect using HTTPS.
 
I have set things up and it kind of works.
 
If I try to connect to http://ours.com:8080 it won't work but if I try 
https://ours.com:9443 it will work. If I then try http://ours.com:8080 
again it will work.
 
What I want is all connections to require SSL so nothing will go 
through unencrypted.
 
How do I do this? I am somewhat of a beginner.
 
TIA
 
Nathan

Regards,

Nathan Simpson
Australian Wool Handlers
Forest Rd
Lara VIC  3212
Ph. (03) 5272 9227
Fax (03) 5274 2084
Mobile 0417 317 411

This message and any attachments are confidential and may be subject to
legal  or other professional privilege.  Any confidential or privilege is
not waived or lost because this e-mail has been sent to you by mistake. If
you have received this transmission in error, please notify us by reply
e-mail,  or phone +613 5272 9227 and delete our e-mail.
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.