cgi user home directory issue

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: George Toft
Date:  
Subject: cgi user home directory issue
Hi Kimi,

That explains it!!!

If a domain is attached to it, it is part of Apache's web space (with
regard to suExec). What you are trying to do is run a CGI in a userdir,
which is outside of this space. suEXEC is failing:
command not in docroot (/home/xhotwater/docs/cgi-bin/test.cgi)

which results in the server error:
Options ExecCGI is off in this directory:
/home/xhotwater/docs/cgi-bin/test.cgi

It looks like you have to recompile suEXEC to include this directive:
--suexec-userdir=DIR (where DIR is the directory you want to include,
probably cgi-bin). This is documented here:
http://httpd.apache.org/docs/suexec_1_2.html
http://httpd.apache.org/docs/suexec.html

I'm cc'ing PLUG in case there's an Apache/suEXEC guru out there that can
refute what I say.

Regards,

George


"Kimi A. Adams" wrote:
>
> It used to work because the user 'operations' and 'medtech' had them
> running. This may be a shot in the dark, but if a domain is attached to a
> /home/username folder, then it works. But I don't know how to get it to
> work without that set up. I am really missing something. : (
>
> Kimi