File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark ""500 internal server error" on apache" Watch ""500 internal server error" on apache" New topic
Author

"500 internal server error" on apache

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
<code>
print << END_OF_HTML;
Content-type: text/html;

<HTML>
<head>
<title>About this server</title>
</head>
<body>
<h1>About this server</h1>


<pre>
server name : $ENV{SERVER_NAME}
Listening on port : $ENV{SERVER_PORT}
Server Software : $ENV{SERVER_SOFTWARE}
Server Protocol : $ENV{SERVER_PROTOCOL}
CGI Version : $ENV{GATEWAY_INTERFACE}
</pre>


</body>
</html>
END_OF_HTML</code>

This file is saved as server_info.cgi and put in cgi-bin directory under the path "C:\Program Files\Apache Group\Apache2\cgi-bin" and this path is configured in httpd.conf file in apache server under the scriptAlias parameter.


When I send a request "http://localhost/cgi-bin/server_info.cgi" I get the error message "500 Internal Server Error".
So whats wrong in here ?

I checked the error.log of apache and there I saw following entries

"Tue Mar 03 15:10:42 2009 error client 127.0.0.1 (OS 5)Access is denied. : couldn't create child process: 720005: server_info.cgi

Tue Mar 03 15:10:42 2009 error client 127.0.0.1 (OS 5)Access is denied. : couldn't spawn child process: C:/Program Files/Apache Group/Apache2/cgi-bin/server_info.cgi"

What does these error messages suggest ?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "500 internal server error" on apache
 
Similar Threads
not able to run a sample soap service in apache/soap
using apache soap webservice in jboss
Tomcat not Responding!!
Applet Axis Client Errors
Unsupported response content type "text/html", must be: "text/xml".