Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 16255 invoked by uid 6000); 16 May 1998 02:00:07 -0000 Received: (qmail 16205 invoked by uid 2001); 16 May 1998 02:00:01 -0000 Received: (qmail 15438 invoked by uid 2012); 16 May 1998 01:56:07 -0000 Message-Id: <19980516015607.15437.qmail@hyperreal.org> Date: 16 May 1998 01:56:07 -0000 From: Mike Machado Reply-To: mike@innercite.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: suexec/2237: Internal server error on cgi ONLY when using suEXEC Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 2237 >Category: suexec >Synopsis: Internal server error on cgi ONLY when using suEXEC >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri May 15 19:00:01 PDT 1998 >Last-Modified: >Originator: mike@innercite.com >Organization: apache >Release: 1.2.6 >Environment: Solaris x86 2.6, gcc >Description: I have 2 virtualhosts setup. I have a ScriptAlias in each pointing to the same URL. In one vhost i have set the user and the group directives... when I use the vhost with the directives i get internal server error, but if I use the one without the directives it works fine. I have a file struct in /var/www/ for all my vhosts I serve. ex: /var/www/innercite.com serves www.innercite.com I want the cgi-bin under that dir to be the scriptalias and run under user "icite". which is what the User directive inthat vhost is set to. Now in my suexec.h i have the USERDIR_SUFFIX set to /var/www should this be set like that? If not what should go there... >How-To-Repeat: http://solar.innercite.com/cgi-bin/wwwadmin.pl is the one WITHOUT the User directives http://webtest.innercite.com/cgi-bin/wwwadmin.pl User is set to "icite" the same exact file for both so its not a cgi program problem... the file perms are all set u+rw and dirs have u+xrw, so its not perms... >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]