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'm trying to get Django running on IIS 6 using pyisapie and I'm having some trouble. I have pyisapie working on IIS, but it only works if I specify the full url to a specific python script like so:


I have PyISAPIe.dll set as a wildcard application map for the virtual directory where my application lives. The part that I don't understand is how do I tell PyISAPIe.dll which python script to execute when I hit my virtual directory from the url?

I want to be able to navigate to


and have be executed. If I try the 2nd url now, I get a 404.

share|improve this question
up vote 2 down vote accepted

If you need to specify an existing, then you probably put in the configuration of the Virtual Directory on IIS6 an Application extension with PyISAPIe.dll instead of a Wildcard Application map (lower pane) in the Application Configuration screen. For me it works now.

share|improve this answer See above link as well. Have no experience here but thought that IIS supported CGI therefor why not wsgi?

share|improve this answer
I have wsgi working on IIS already, but it only works when I hit a python script from the URL... I don't know how to configure IIS to have a WSGIScriptAlias like mod_wsgi for Apache. – Matthew J Morrison Oct 20 '10 at 20:40

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.