1) Setup a Virtual Host for http://yourserver.com
2) Create an index.htm(l) in the DocumentRoot directory for the HTTP-virtual host:
<html>
<head>
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="refresh" content="2; URL="" href="https://yourserver.com"> https://yourserver.com">
</head>
<body>
<center><p>
Proceed to the <a href="" href="https://yourserver.com">https://yourserver.com ">HTTPS interface</a>.
</p>
</center>
</body>
<html>
3) Setup a Virtual Host for https://yourserver.com
& configure ARS to use this address<head>
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="refresh" content="2; URL="" href="https://yourserver.com"> https://yourserver.com">
</head>
<body>
<center><p>
Proceed to the <a href="" href="https://yourserver.com">https://yourserver.com ">HTTPS interface</a>.
</p>
</center>
</body>
<html>
I assume that something similar should be possible with IIS too.
George
On 5/1/06, Heider, Stephen
<[EMAIL PROTECTED]> wrote:
We are about to implement SSL for Mid-Tier. I would like to have all
http:// URLs entered to be redirected to https:// automatically, without
forcing users to type in https://. I have searched for redirect scripts
and tried a couple, but I still receive the "You are not authorized to
view this page" error 403 page when going to an http:// address.
I tried the 2 examples from this thread:
http://blog.opsan.com/archive/2005/04/17/395.aspx .
I must have missed some setting. I don't believe it is ARS-specific
because I get the same error with a simple web page, for example:
<html>
<head>
</head>
<body>
test
</body>
</html>
ARS 6.3
Mid-Tier 6.3
Windows Server 2003
IIS 6 (anonymous access disabled, Integrated Windows Authentication
enabled, Require Secure Channel (SSL) enabled, Allow ASP pages enabled)
Thanks.
Stephen
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
__20060125_______________________This posting was submitted with HTML in it___

