403 Forbidden Error

Hi,<br />This is my first post but have been with TCH for a while now. <br /><br /><br />I seem to be getting the same error message everytime I try to fill out my online form. <br /><br />"Forbidden<br />You don't have permission to access /cgi-bin/askquestion.cgi on this server.<br /><br />Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "<br /><br />Can somebody help? Thanks !<br /><br />Newbie<!--content-->
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.<!--content-->
Uploaded script in ASCii mode then changed permission to 755.<br />The change was successful.<!--content-->
<img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> Cool!<br /><br />And<br /><br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> Welcome to the family <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> <br /><br />now don't be a stranger <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><!--content-->
Glad you got it working! Thumbs Up <br /><br /><img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> Welcome to the family! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /><!--content-->
No I didn't. I changed the permission but still the same result.<!--content-->
Can you post a link to the form?<!--content-->
Welcome to your new somehow crazy family <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />P.S How can a error be forbidden? Shouldnt all be? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /><!--content-->
I must be doing something wrong. I tested the the script hello world and keep getting the same 403 Forbidden error.<br /><br />Here is the script i'm using:<br /><br />#!/usr/bin/perl <br /># simple Hello World script<br />print "Content-type: text/plain\n\n";<br />print 'Hello World!';<br /><br /><br />I uploaded in ascii then changed permissions chmod 755 /public_html/cgi-bin/helloworld.cgi<br /><br /><br />Help would be appreciated. Thanks!<!--content-->
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?<br /><br />The permissions of the cgi-folder should be 755<!--content-->
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.<!--content-->
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.<!--content-->
Thanks, I 'll do that.<!--content-->
 
Top