Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.