Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 75447 invoked from network); 29 Sep 2005 16:04:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2005 16:04:03 -0000 Received: (qmail 73740 invoked by uid 500); 29 Sep 2005 16:03:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 73723 invoked by uid 500); 29 Sep 2005 16:03:50 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 73710 invoked by uid 99); 29 Sep 2005 16:03:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 09:03:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MISSING_DATE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [85.234.136.92] (HELO localhost) (85.234.136.92) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 29 Sep 2005 09:03:55 -0700 From: Mike Cardwell To: users@httpd.apache.org X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20050929160356.A2EEE10FB2F5@asf.osuosl.org> Date: Thu, 29 Sep 2005 09:03:56 -0700 (PDT) Subject: [users@httpd] Modifying mod_access X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have a problem that I need to fix with Apache and wasn't sure if I should post to the users list or the developers list because it's quite technical. If I've come to the wrong place, please give me a kick in the right direction :) I'm using a program called SBox under Apache 2.0.54. It's similar to cgiwrapper which more of you may be aware of. It is allowing me to serve many different websites from a single virualhost whilst keeping the process ownership functionality of suexec. The problem is, I have to use mod_rewrite for all my cgi scripts and php scripts to change the path to them as follows: /home/web/domain.com/htdocs/test.php Rewrites to: /usr/sbin/sbox-php/home/web/domain.com/htdocs/test.php Where /usr/sbin/sbox-php is the cgi wrapping program. It's working perfectly....... Except....... .htaccess files no longer work for anything that is rewritten to the sbox binary. So users can not set up stuff like Basic Authentication on those scripts. I can't think of a way around this problem without modifying the actual Apache source code to temporarily rewrite the paths by removing /usr/sbin/sbox-php when it's trawling the filesystem for .htaccess files The main problem is, I'm an appauling C coder. So I'm hoping for either an alternative solution, or a few pointers to the things that need changing in the code. Or if I'm really lucky, a patch ;) Thank you for your time. Best wishes, Mike -- Digital photo printing: http://www.fotoserve.com/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org