How to configure my Apache/1.3.4(Unix) to run Java CGI ?

How to configure my Apache/1.3.4(Unix)
Suse/6.0 in order to activate my CGI script.
I have written a JAVA CGI and I am trying to call it via a Script
I am getting this error from my httpd.error_log

my error ----------------->
/usr/lib/java/bin/java: /etc/rc.config:Permission denied
Premature end of script headers: /usr/local/httpd/cgi-bin/get.cgi
--------------------------->end of error

Thanks
Neta :}


netaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sumawuschaCommented:
It doesn't realy look like a Apache configuration problem...
Did you start the Apache server as root/on boot time?

Have a look at your httpd.conf file. What say the user/group
directives? They set the user/group-id as which the server will
answer requests and run cgi-scripts.

Make sure that the referring user has the right to read the
/etc/rc.config file.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EatEmAndSmileCommented:
Also make sure your CGIs have execution permissions...
--------------_4D4801067F38BFFFEDD4
Content-Disposition: form-data; name="notify"

on
--------------_4D4801067F38BFFFEDD4
Content-Disposition: form-data; name="Submit"

Submit
--------------_4D4801067F38BFFFEDD4--
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.