A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/068002.html below:

Python/CGI and 502 errors under IIS

Python/CGI and 502 errors under IIS Python/CGI and 502 errors under IISPeter J. Ungaro ungarop at yahoo.com
Wed Apr 4 11:09:03 EDT 2001
Hello all,

I am trying to use ActiveState ActivePython 2.0 for CGI scripting under W2K
Professional/IIS 5.0.  I am working on a laptop that is acting as the web
server as well as my development machine.  I am trying to learn Python...

Every time I try to execute a test script either by direct URL or by a form
POST, I get a 502 error (Bad Gateway) in the server log file:

19:47:46 127.0.0.1 POST /www_test/script/test.cgi 502

My site has Read/Execute permission, and I have registered Python in the
Application Mapping area (as a Script Engine) of the IIS config tool for the
.py and the .cgi extensions (and I have tried both).

Any ideas on what I am doing wrong?  Why would I be seeing a Bad Gateway
error?

Thank you,
Peter



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4