1753955 Members
7574 Online
108811 Solutions
New Discussion юеВ

Apache web server set-up

 
J Clouss
Occasional Advisor

Apache web server set-up

I am getting "500 Internal Server Error". I am not sure the cause of this error. The call executes correctly if I assign the proxy and uri to another machine that is using apache.

I believe the problem is in a configuration set-up on my server.
11 REPLIES 11
J Clouss
Occasional Advisor

Re: Apache web server set-up

Sorry, I forgot to include my system and apache information.
HP-UX 11.11
Apache2 2.0.35
Steven E. Protter
Exalted Contributor

Re: Apache web server set-up

Thats a pretty generic error code.

I've gotten when uploading a cgi script in binary mode(ascii only on those).

The error_log file might show you more information about the error. Looking at that log will help you isolate the issue prior to messing with your configuration.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sean OB_1
Honored Contributor

Re: Apache web server set-up

Take a look at the httpd error log for more information on what exactly the 500 error is.

Post that information and we'll have a look.

Sean OB_1
Honored Contributor

Re: Apache web server set-up

Should have mentioned that it's typically under:

/log/httpd_error_log



J Clouss
Occasional Advisor

Re: Apache web server set-up

the errot file is complaining about "Bad header= here we are: / opt/apache/cgi-bin/sfs.cgi". However i have changed this file to only contain a print statement for debug purposes. I commented out the header from sfs.cgi and now it is complaining about "Exce format error"

access log contains "'POST /cgi-bin/sfs.cgi HTTP/1.1' 500 611"

Thanks for the inputs. This is all new to me.
Sean OB_1
Honored Contributor

Re: Apache web server set-up

Can you attach the script that is causing the problem?
J Clouss
Occasional Advisor

Re: Apache web server set-up

i will try. there will be 3 files and i do not know how to put multiple file in a reply.
J Clouss
Occasional Advisor

Re: Apache web server set-up

file 2
J Clouss
Occasional Advisor

Re: Apache web server set-up

file 3