Re: [EMAIL PROTECTED] CGI path problem

2005-07-19 Thread Thom Hehl
That's why I wanted to make a point and document all of my trials for this list. At least someone will have a pointer. This does look handy, but I'm simply not running a production Apache server at the moment and the research can wait. When I do it, I'll try to write something for Apache.:) T

Re: [EMAIL PROTECTED] CGI path problem

2005-07-19 Thread Nick Kew
On Tue, 19 Jul 2005, Thom Hehl wrote: > Is this a secret? Why does no one know about this selinux thing? Anyway, > I turned it off for now. Maybe I'll go back and figure it out later. Presumably it should be up to the creators of SELinux to document what they're doing, including issues likely to

Re: [EMAIL PROTECTED] CGI path problem

2005-07-19 Thread Thom Hehl
ne executes the CGI the JVM is loaded. There must be better ways of doing what you want, but that's outside the scope of your question. Cheers, Andres -Original Message- From: Thom Hehl [mailto:[EMAIL PROTECTED] Sent: Monday, July 18, 2005 7:32 PM To: users@httpd.apache.org Subj

RE: [EMAIL PROTECTED] CGI path problem

2005-07-18 Thread Andres Monroy-Hernandez
32 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] CGI path problem OK. I figured out to place the path in /etc/init.d/httpd and now I can find the program. Now I'm getting the error: sh:/opt/java/bin/java: Permission denied The permissions on java are 755, which should allow

Re: [EMAIL PROTECTED] CGI path problem

2005-07-18 Thread Thom Hehl
OK. I figured out to place the path in /etc/init.d/httpd and now I can find the program. Now I'm getting the error: sh:/opt/java/bin/java: Permission denied The permissions on java are 755, which should allow execution. Is there something that prevents CGI scripts from calling other binaries?

[EMAIL PROTECTED] CGI path problem

2005-07-18 Thread Thom Hehl
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