You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeremy Madea <J....@mdl.com> on 2003/05/08 01:15:02 UTC

RE: [users@httpd] CGI Internal Error


On Wednesday, May 07, 2003 5:41 PM, Steve Campbell wrote: 

> I get this
> error:
> 
> Internal Server Error

[...snip...]

> Anyone have any idea?

Check your error logs for more information. Most likely, you either have a
runtime error in your script or the script is executing but isn't behaving
like a nice CGI script should. Are you printing a content-type header? Are
you printing a blank line between your header(s) and your message body? Try
a simple script like this: 

#!/usr/bin/perl 
print "Content-type: text/plain\n\n"; 
print "Hello, Web.";


-j
--
Jeremy Madea
"My two cents aren't worth a dime."

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] CGI Internal Error

Posted by Steve Campbell <st...@forerunners.org>.
On 5/7/03 4:15 PM, "Jeremy Madea" <J....@mdl.com> wrote:

> #!/usr/bin/perl 
> print "Content-type: text/plain\n\n";
> print "Hello, Web.";


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] CGI Internal Error

Posted by Steve Campbell <st...@forerunners.org>.
Okay
Jeremy

Thank you for this tidbit code.  Everything worked just fine after I
chmodded, etc.   Thanks for helping and for the time being, I am done.  If
the user wants to debug his script and find out what's hosed in it, then
that's there choice.

Thanks again Mike and Jeremy

I do appreciate the help


Steve Campbell
Forerunners Org

> On 5/7/03 4:15 PM, "Jeremy Madea" <J....@mdl.com> wrote:
> 
>> #!/usr/bin/perl 
>> print "Content-type: text/plain\n\n";
>> print "Hello, Web.";
> 
> 
> Okay..I will try this short script.  Thank you for setting the default trial
> and error pathway up for me. I will start  here and hopefully I can keep
> moving down this path.
> 
> Thanks again
> 
> Steve Campbell
> Forerunners Org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] CGI Internal Error

Posted by Steve Campbell <st...@forerunners.org>.
On 5/7/03 4:15 PM, "Jeremy Madea" <J....@mdl.com> wrote:

> #!/usr/bin/perl 
> print "Content-type: text/plain\n\n";
> print "Hello, Web.";


Okay..I will try this short script.  Thank you for setting the default trial
and error pathway up for me. I will start  here and hopefully I can keep
moving down this path.

Thanks again

Steve Campbell
Forerunners Org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org