<div class="gmail_quote">On Tue, Nov 10, 2009 at 6:12 PM, John Nagle <span dir="ltr"><<a href="mailto:nagle@animats.com">nagle@animats.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><a href="mailto:ssteinerX@gmail.com" target="_blank">ssteinerX@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On Nov 9, 2009, at 10:18 AM, Victor Subervi wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, obviously. But if CGI is enabled, it should work anyway, should it not?<br>
</blockquote>
<br>
Depends on what "CGI is enabled" means.<br>
<br>
Usually, web servers are not set to just handle cgi scripts from anywhere, but only from specific file system locations.  Otherwise, an an anonymous upload could be executed as CGI and wreak havoc.<br>
</blockquote>
<br></div>
    If it won't work as a CGI program, which is relatively straightforward,<br>
it probably won't work at all.<br>
<br>
    First, write some trivial CGI program in Python and make sure the<br>
environment works - Python loads, the Python program loads, and you<br>
can get a response back.<br>
<br>
    Bear in mind that most hosting services don't make much of an attempt<br>
to support Python. Expect important libraries to be missing or obsolete.<br></blockquote><div><br>The problem was not CGI. It turned out to be line-endings being mangled by Windoze and __invisible __ in my unix editor. Lovely.<br>
Thanks anyway,<br>V<br></div></div><br>