[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 500 Internal Server Error...



On Tue, 1 Feb 2005, Mayuresh Kathe wrote:

> On Tue, 01 Feb 2005 10:29:10 +0100, Juan J. Martinez <reidrac@usebox.net> wrote:
>> En 01/02/05 09:14, Mayuresh Kathe escribma:
>>> [...]
>>> Can someone please give me pointers about how I could recitify this?
>>
>> Apache runs chrooted *by default* and printev uses Perl (out of the
>> chroot). It sound like that's your problem.
>>
>> You can try "man httpd" and check the section related to -u option.
>
> Thanks for the Juan,
>
> It worked without the chroot in-active.
>
> There is another binary I am trying to run as a CGI, even that is
> giving the same error.
> Could this be because the binary is dependent on libraries which are
> outside the jail?

Also make sure that the partition the cgi script is on, isn't mounted 
noexec.. That bit me a few times in the past. :)

- Christer