[Tutor] please help with simple python CGI script
Steve Willoughby
steve at alchemy.com
Sun Oct 26 19:06:11 CET 2008
aivars wrote:
> Hello, Lie,
> I renamed the directory back to Cgi-bin and the scripts are NOT
> working. Going back to cgi-bin it works. I also do not understand why.
>
> Aivars
>
> 2008/10/26 Lie Ryan <lie.1296 at gmail.com>:
>> On Sun, 26 Oct 2008 08:32:52 +0000, Alan Gauld wrote:
>>
>>> "aivars" <aivars868 at gmail.com> wrote in message
>>> news:c5ad28970810260045r61e5bbe4h1bbb3dffbe598619 at mail.gmail.com...
>>>> I finally get the script working!
>>>>
>>>> I renamed the script directory from Cgi-bin to cgi-bin just as Alan
>>>> told.
>>> I'm glad it worked but I confess I'm not sure why it worked. The
>>> interpreter was apparently finding your script OK but it was the
>>> environment that was messed up. I don't fully understand the interaction
>>> going on there. But in things web related I've learned that consistency
>>> throughout is usually helpul!
>>>
>>> Alan G.
>>>
>> I wouldn't have thought it could work, since Windows is case insensitive
>> and web server is required understand URL as case insensitive. Why that
>> Cgi-bin and cgi-bin differs on a windows-based server is beyond me.
Why do you think web servers are required to understand URLs as case
insensitive? This is not the case (other than the domain name itself).
More information about the Tutor
mailing list