Tuesday 15 June 2010

python - How Deploy Django App IIS -


I have trouble in deploying a simple DNS web app on IIS 7 in Windows Server 2008. The app uses the Digenango 1.5 and Python 3.3.

It seems that IIS uses the FCG (FastCGI) protocol to communicate with 7 web applications, and this protocol is not originally supported in Python. I have tried so far that all third party libraries have not worked with Python 3.3. They are:

  • flup
  • flup-py3.0
  • django-windows-tools
  • PyISAPIe

    The Django documentation goes through many of the above options but they are all old, what's the best way to employ this app? Should I try to install Apache on Windows Server 2008, so that I can use mod_wsgi? Or is there no way to work using regular CGI on IIS? if so, how?

    Dying on the IIS is a headache, so if you're going to know I'm sure I would recommend using Python 2.7 which is better than 3.x in the present time.

    Here is some recent tutorial for installing pyISAPIe on Python 2.7, it should be compatible with Python 2.7.3 and the latest version of the newest version of << P>

    If you are on Ajax 3.x If you want to be with windows then using Apache with mod_wsgi is your best bet

    No comments:

    Post a Comment