I'd like to redirect some of the large (zip) files on our server to a hosting service. I've seen some questions about HTTP redirection but they seem to always apply to the entire domain or to a folder.

I'd prefer to pick the files to redirect instead of redirecting an entire folder. How can I do that?

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

I ended it finding it on my own. It was easy after I found the "Switch to Feature View" context menu in IIS Manager.

  1. If you don't have HTTP Redirection installed you'll have to install it. From the Control Panel select "Turn Windows Features on or off", then browse to Internet Information Services > World Wide Web Services > Common HTTP Features and select HTTP Redirection;
  2. Boot up IIS Manager (inetmgr.exe);
  3. Browse for your file (you may have to change to Content View to see it);
  4. Right-click the file and select "Switch to Feature View". The file now appears in the Connections tree.
  5. Select the file in the Connections tree, then double-click "HTTP Redirect";
  6. Select "Redirect requests to this destination" and enter the address to redirect to.
link|improve this answer
feedback

does this help?

if I understand correctly, you are trying to set up a 301 Redirect for a single file?

link|improve this answer
it is useful but I think it is for IIS 6, I'm using IIS 7. – djeidot Jan 25 '10 at 17:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.