Results 1 to 3 of 3
Thread: CGI Errors
07-02-2003, 02:10 AM #1ITGEEKGuest
When creating a form using a cgi script it keeps coming back with an error.
getting an 'Internal Server Error - misconfiguration' message as follows;
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, ****@***.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
What is wrong? Does it need to be 'Executable'?
Here is an excerpt from a test page of mine called p_test_t2.htm;
<BODY bgColor=mediumslateblue text=gold>
<P align=center><font size=7><STRONG>Enter</STRONG></font></P>
<INPUT type=submit id="b_thank" value="OK" >
Here is the script in cgi-bin called t2.cgi;
use Fcntl qw( EFAULT :flock );
#use CGI qw( :standard ), qw( :html3 ) ;
$q = new CGI;
08-17-2003, 07:04 PM #2eicklerrGuest
Yes, cgi scripts need to be chmod'd to 755.
10-26-2003, 09:22 PM #3x.c.Guest
chmod the cgi script to 755 using your ftp client, shell, or file manager