insuran Posted May 6, 2004 Posted May 6, 2004 Hi, This is my first post but have been with TCH for a while now. I seem to be getting the same error message everytime I try to fill out my online form. "Forbidden You don't have permission to access /cgi-bin/askquestion.cgi on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. " Can somebody help? Thanks ! Newbie Quote
LisaJill Posted May 6, 2004 Posted May 6, 2004 What are the permissions on the cgi script that you're using? Have you tried changing them to 755? Most cgi scripts, in my experience, need 755 to work on TCH servers. Quote
insuran Posted May 6, 2004 Author Posted May 6, 2004 Uploaded script in ASCii mode then changed permission to 755. The change was successful. Quote
TCH-Don Posted May 6, 2004 Posted May 6, 2004 Cool! And Welcome to the family now don't be a stranger Quote
TCH-Bruce Posted May 6, 2004 Posted May 6, 2004 Glad you got it working! Thumbs Up Welcome to the family! Quote
insuran Posted May 6, 2004 Author Posted May 6, 2004 No I didn't. I changed the permission but still the same result. Quote
TCH-Thomas Posted May 6, 2004 Posted May 6, 2004 (edited) Welcome to your new somehow crazy family P.S How can a error be forbidden? Shouldnt all be? Edited May 6, 2004 by Jikrantz Quote
insuran Posted May 7, 2004 Author Posted May 7, 2004 I must be doing something wrong. I tested the the script hello world and keep getting the same 403 Forbidden error. Here is the script i'm using: #!/usr/bin/perl # simple Hello World script print "Content-type: text/plain\n\n"; print 'Hello World!'; I uploaded in ascii then changed permissions chmod 755 /public_html/cgi-bin/helloworld.cgi Help would be appreciated. Thanks! Quote
TCH-Bruce Posted May 7, 2004 Posted May 7, 2004 (edited) Excuse me for asking but what are the permissions of the cgi-bin folder in the public_html folder? And you have not web protected the cgi-bin folder have you? The permissions of the cgi-folder should be 755 Edited May 7, 2004 by TCH-Bruce Quote
insuran Posted May 7, 2004 Author Posted May 7, 2004 Permission 755. And no I don't beleive so, there doesn't seem to be a lock on the folder if that's what you mean. Thanks for helping. Quote
TCH-Bruce Posted May 7, 2004 Posted May 7, 2004 The only other suggestion I can make is to open a Help Desk ticket (link above) and have one of the techs have a look. 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.