Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / IIS / IIS General Topics / July 2008

Tip: Looking for answers? Try searching our database.

force an ssl redirect using iis 6.0 for one specific directory within site

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dee Holzman - 30 Jul 2008 00:35 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
(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
//
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.