|
#1
| |||
| |||
| …guru apache i need (perl_test.cgi internal server error) Hi people, i've started apache but have a problem, when test, test-cgi http://127.0.0.1/cgi-bin/test-cgi is all ok, but when test perl_test.cgi… (i chmod 755 test-cgi and perl_test.cgi) Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] 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. anyone can help me? |
|
#2
| |||
| |||
| can you post the perl_test.cgi you are trying to execute? the test-cgi is not a perl script. you can tell because that first line doesn't have the path to perl, but to your shell. #!/bin/sh (vs.) #!/usr/bin/perl -T (which works for me under 10.2) so make sure that line is correct. And you can check out any errors in your log files at /var/log/httpd/error_log They might give you a little more info. Oh, and don't forget this line at the beginning... print "Content-type: text/html\n\n"; Lastly, make sure your line endings are Unix, not Mac. BBEdit Lite can do this. Last edited by xegan; September 26th, 2002 at 03:16 AM. |
|
#3
| |||
| |||
| hi xegan i don't think the real problem is the path i've write the simple script in perl #!/usr/bin/perl print "Content-type: text/html\n\n"; print "<H1>Hello World</H1>\n"; end it work,but the ikonboard test no. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache 500 Internal Server Error | mr. k | Design & Media | 1 | October 10th, 2003 03:13 AM |
| SHUTDOWN without warning SCARY!! | astro_sk | Mac OS X System & Mac Software | 10 | May 16th, 2003 02:45 PM |
| Can't find server after error | Ryan81 | Networking & Compatibility | 0 | May 14th, 2003 11:22 AM |
| apache (ssl?) error with squirrelmail and 10.2.4 | QuadrupleJ | Design & Media | 1 | May 1st, 2003 01:19 AM |
| Apache error | jarinteractive | Mac OS X System & Mac Software | 1 | November 2nd, 2001 10:21 AM |