I have another unusual situation - a website with one folder that we'd like
to force an ssl connection on. This folder does not contain a default page
(at website owners request - they just want a simple directory listing). We
don't want to force an ssl connection for the whole site, just that folder.
Can I put a custom 401 error page in that specific directory (not a default
page - just a vbscript ASP page that contains the redirect code), then set
up IIS 6.0 to redirect to this custom error page in case someone types in
http://www.website.com/sensitivedirectory instead of the https: ?
Thanks in advance for all your help,
Dee Holzman
David Wang - 30 Jul 2008 18:58 GMT
> I have another unusual situation - a website with one folder that we'd like
> to force an ssl connection on. This folder does not contain a default page
[quoted text clipped - 8 lines]
>
> Dee Holzman
Redirection can be done on a per-URL level on IIS, so you can force a
redirect for a specific directory just like you can for a website or
even a specific page using the exact same tactic.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//