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 <[EMAIL PROTECTED]>:
On Sun, 26 Oct 2008 08:32:52 +, Alan Gauld wrote:
"aivars" <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>:
> On Sun, 26 Oct 2008 08:32:52 +, Alan Gauld wrote:
>
>> "aivars" <[EMAIL PROTECTED]> wrote in mes
On Sun, 26 Oct 2008 08:32:52 +, Alan Gauld wrote:
> "aivars" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>>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 w
"aivars" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
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
I finally get the script working!
I renamed the script directory from Cgi-bin to cgi-bin just as Alan told.
Many thanks to all you who responded
Aivars
2008/10/26 aivars <[EMAIL PROTECTED]>:
> Thanks John and Alan
>
> I get the following error when I run the script from IDLE:
>
> Traceback (mo
Thanks John and Alan
I get the following error when I run the script from IDLE:
Traceback (most recent call last):
File "C:\Cgi-bin\friends1.py", line 15, in
who = form['person'].value
File "C:\Python25\lib\cgi.py", line 567, in __getitem__
raise KeyError, key
KeyError: 'person'
Ai
"aivars" <[EMAIL PROTECTED]> wrote
still banging mu head with Wesley Chun's simple example -
I'm not sure if this is significant but
It gives me the following error:
Traceback (most recent call last):
File "C:\Cgi-bin\friends1.py", line 15, in
Notice that the file path has Cgi no
It does not work neither as script or from command line. I will try to
find the guy Wesley Chun and ask him
2008/10/25 John Pomni <[EMAIL PROTECTED]>:
> Hi,
>
> The script does not work from command line but I guess you do not have
> any problems running it as CGI?
>
> I like cgitb modules for deb
Thanks very much, Kent,
So it seems that directory /cgi-bin should be a subdirectory to that
directory from which the web server was started/is running. That
worked and Deitel's script - getting time displayed finally worked.
still banging mu head with Wesley Chun's simple example -
#!C:\python2
On Fri, Oct 24, 2008 at 10:25 AM, aivars <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am learning python.
>
> I start the python CGI server like this:
>
> python -m CGIHTTPServer (this syntax I saw in Wesley Chun's Core
> Python Programming chapter 20.5)
>
> The server starts in command prompt on wind
Hello,
I am learning python.
I start the python CGI server like this:
python -m CGIHTTPServer (this syntax I saw in Wesley Chun's Core
Python Programming chapter 20.5)
The server starts in command prompt on windows XP by answering:
Serving HTTP on 0.0.0.0 port 8000...
Next I want to run this s
11 matches
Mail list logo