cgi prob

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: cgi prob
On Mon, Jun 30, 2003 at 03:03:43PM -0700, Jeremy C. Reed wrote:
/_On Mon, 30 Jun 2003, Mike Starke wrote:
/_
/_> /_Is suexec biting you somehow?
/_>
/_> I would not know how to check or resolve.
/_
/_Look for a cgi.log, suexec.log, suexec_log or other similar log file.
/_
/_Also, at startup httpd will log (to your ErrorLog) that Suexec is enabled.
/_
/_Suexec will not allow CGIs with wrong ownership or bad permissions. It
/_will tell you.

I found out the problem: httpd was chroot'd to /var/www/. I started httpd
with the "-u" flag to disable, and it was good.

This is on an openbsd 3.3 box. what I do not understand is that if it
is chroot'd to /var/www and the script alias is under /var/www/cgi-bin/
than why would it nbot work? Certainly that directly is within
the chroot env.

stumped.

-mike