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 a problem with win2k3, iis6 and django. I have a django application which works fine and it is on the root of my domain. say

What i have to do is to serve this application from If this wasn't a django application (eg: asp or php) i would just move my files under wwwroot/foo/bar

The only solution i came up with is this: I have created two sites, the first is my django application which is served under

The second one has virtual directories foo and bar one inside another like domain/foo/bar and they point to (I have selected "a redirection to URL" from Virtual Directory and checked "The exact URL entered above").

This works but the url is not masked so the address bar shows

Any help would be greatly appreciated

share|improve this question
up vote 1 down vote accepted

The best way in IIS6 to show a different URL than the folder you're running under is with isapi rewrite: Here's an article on how to do it:

share|improve this answer

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.