lefterov Posted June 28, 2017 Posted June 28, 2017 (edited) Hi allmy 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 June 28, 2017 by lefterov Quote
Krydos Posted June 28, 2017 Posted June 28, 2017 lefterov.heliohost.org/cgi-bin/bob.py&n=359897890266&t=test Your URL should look like thislefterov.heliohost.org/cgi-bin/bob.py?n=359897890266&t=test You have a & after bob.py instead of a ? 1 Quote
lefterov Posted June 29, 2017 Author Posted June 29, 2017 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.