Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

What is trying to be achieved:

  1. Redirect any http traffic to https traffic
  2. If just the domain or root is entered, a redirection occurs to a particular path/url

Example:

  • User entered -> redirected to
  • http://sub.domain.com/ -> https://sub.domain.com/mdesign/0/procs/index.html
  • https://sub.domain.com/ -> https://sub.domain.com/mdesign/0/procs/index.html
  • http://sub.domain.com/mdesign/0/procs/index.html -> https://sub.domain.com/mdesign/0/procs/index.html

What works:

  • User entered -> redirected to
  • http://sub.domain.com/ -> https://sub.domain.com/mdesign/0/procs/index.html
  • http://sub.domain.com/mdesign/0/procs/index.html -> https://sub.domain.com/mdesign/0/procs/index.html
  • And any https valid path entered directly also correctly works

What doesn't work:

  • https://sub.domain.com/ -> https://sub.domain.com/mdesign/0/procs/index.html

No redirect occurs (no 302 is returned), instead a 404 with, "The resource '/' was not found (insufficent components in path).", which is the webservice application (mdesign) stating nothing at '/' because what we want is in /mdesign/0/procs/

Config

  • IIS 6.0 Used for the redirection on top of
  • mDesign which is an application serving the https traffic but uses basic windows httpapi so web configuration options within the application are limited (ie no redirection from http->https)

Home Directory Tab for sub.domain.com properties iis 6.0:

  • Content should come from:A redirection to a URL
  • Redirect to:https://sub.domain.com/mdesign/0/procs/index.html
  • The client will be sent to:The exact URL entered above
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.