Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an IIS server (IIS 6, Win 2003) that hosts the site

I want any request to (no matter what path/filename is used) to redirect to UNLESS the request is for, in which case the HTML files in the local directory specialdir should be used.

The problem I have is once the redirect is set it also affects /specialdir - even if I right click on that directory and select "content should come from ... local directory" that change does not take effect, and the directory still shows as redirecting to The same thing happens if I try to set individual files to load from the local system instead of redirecting - IIS gives no error, but the change does not take effect and the files still show as being redirected.

How can I set specialdir to override the redirection to the new URL?

share|improve this question

oh, yes...

Well, the real solution is to use ISAPI_Rewrite from and write a regex for the redirection.

share|improve this answer
pls dont multi post like that, this is not a forum. pls read the faq – Nick Kavadias Jan 8 '11 at 11:07

Your Answer


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

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