httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom Hehl <t...@nowhereatall.com>
Subject [users@httpd] CGI path problem
Date Mon, 18 Jul 2005 21:15:24 GMT
I have a CGI program that calls a java program. I have placed the 
java/bin directory into my PATH in /etc/bashrc (Redhat Linux) and can 
run my CGI fine from the command prompt. When I execute it through the 
web server, though, I get the following message in my error.log:

"sh: java: command not found"

I am reading this as Apache cannot find the java binary. Is there 
something I'm missing? Maybe a path somewhere in httpd.conf?

Thanks

---------------------------------------------------------------------
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


Mime
View raw message