Jump to content

Recommended Posts

Posted (edited)

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
Posted

 

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

 

Your URL should look like this

lefterov.heliohost.org/cgi-bin/bob.py?n=359897890266&t=test
You have a & after bob.py instead of a ?
  • Like 1
Posted

 

lefterov.heliohost.org/cgi-bin/bob.py&n=359897890266&t=test
Your URL should look like this

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

You have a & after bob.py instead of a ?

 

 

 

I must be blind. Thanks a bunch.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...