[H-GEN] CGI internal server error
q
qc at uq.net.au
Fri Oct 16 01:57:36 EDT 1998
Nod. This stuff bites. Lots.
Suggestions :
(1) add the line "use diagnostics;"
This will make anything in the server error logs give more detailed answers.
(2)
Also try "use strict;", which although being COMPLETELY an^H^H^^H^HH unfriendly
about code, it will generally give some clues about where stuff is looking
weird to the parser.
summary:
check permissions, check server error logs. (If you can't find the logs,
check in the httpd.conf for something like "ErrorLog".
regards,
-q
On Fri, Oct 16, 1998 at 12:36:39PM +1000, Luke Grant wrote:
> Ok,
> So i have written this CGI in Perl(it wasn't my language choice ok so
> no flames about using perl as an excuse for not doing string
> manipulation.) Anyway, when it is being called by the browser i am getting
> an "Internal Server Error". Generaly i have found that this problem means
> i have an error in my code but when i run $ perl -w userlist.cgi the
> output is exactly what it should be. I also checked the access.conf file
> for httpd to see that ExecCGI was set for that directory.
>
> any ideas?
>
> Luke
>
>
>
> *****************************************************
> Luke Grant
> Luke.G at uq.net.au
> n2143968 at student.fit.qut.edu.au
> skywalke at webexpress.net.au
> *****************************************************
>
>
>
--
++ "Power corrupts. Absolute power is kind of neat" (John Lehman)
++- Quentin Cregan (q)
+ - http://riva.gnu.net
+ - qc at uq.net.au
More information about the General
mailing list