Jump to content

Python Cgi


lefterov

Recommended Posts

Hi all

my first post here.

I have 2 py files in my cgi-bin

 

one is

http://lefterov.heliohost.org/cgi-bin/test1.py

 

and it works

 

the other is

 

http://lefterov.heliohost.org/cgi-bin/bob.py&n=359897890266&t=test

 

and I am getting:

Not FoundThe requested URL /cgi-bin/bob.py&n=99999&t=test was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

they are both with 755 mask. The one that doesnt work uses cgi

 

import cgi
form = cgi.FieldStorage()

 

 

Any help appreciated.

Edited by lefterov
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...