Chuck Crisler wrote:
On Fri, 2009-08-21 at 09:37 +0100, Tom Evans wrote: My cgi-bin directory (/var/www/cgi-bin) is owned by root with these permissions drwxr-xr-x. This is from my httpd.conf
Hi.On my Linux (Debian) systems, the cgi-bin directories - and the scripts in it - have a owner "root", but a group "www-data", and are executable by this group "www-data".
Apache starts up as root (which allows it to open a listening port 80), but then (in a prefork config at least), the children runs as www-data/www-data.
(See the User and Group directives in your conf file).I presume that cgi-bins must be executable by the user/group the Apache children run as.
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx