redirect http to https for virtual directories
From: Arif (anonymous_at_discussions.microsoft.com)
Date: 04/11/04
- Next message: Gil Grissom, CSI: "IIS logs, repeated hits to a car picture? [interesting story!]"
- Previous message: Vince: "Re: IIS % Does not install properly"
- Next in thread: Ken Schaefer: "Re: redirect http to https for virtual directories"
- Reply: Ken Schaefer: "Re: redirect http to https for virtual directories"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 10 Apr 2004 17:05:02 -0700
Hi,
I have a web server with the following configuration;
1. Anonymous Access is turned on
2. SSL certificate is installed and required
3. Custom Error 403.4 page is edited to redirect
http://servername to https:///servername
4. Couple of Virtual Directories (one with classic ASP
and the other one with ASP.Net applications)
5. Anonymous Access is TURNED OFF at the virtual
directories level because of the application requirements
The http to https redirect at the root level
(http://servername) is working fine. But I need to have
http to https redirect at the virtual directory level. I
have the same code that I am using in the custom error
page in defaul.asp page in my virtual directory. Since
the anonymous access is turned off, it asks for the
authentication and once authenticated it processes the
http to https redirect. So the redirect is working but
for obvious reason, I cannot have this in production
becuase the initial authentication is done over simple
text.
If I do not have the code in "default.asp" page to
redirect to https, then I get JUST "HTTP Error 403 -
Forbidden".
Can anyone please help me how to configure the http to
https for a URL like http://servername/aspapp/, the
default page is "default.asp"??? Keep in mind, I have to
have ONLY Basic Authentication. (I can live with
unchecking the Require SSL at the virtual directory level
if it is assured that all the contents are being
redirected to HTTPS).
Thanks in advance for your help.
Arif
- Next message: Gil Grissom, CSI: "IIS logs, repeated hits to a car picture? [interesting story!]"
- Previous message: Vince: "Re: IIS % Does not install properly"
- Next in thread: Ken Schaefer: "Re: redirect http to https for virtual directories"
- Reply: Ken Schaefer: "Re: redirect http to https for virtual directories"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|