Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 701 invoked from network); 6 Jul 2010 07:46:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 07:46:16 -0000 Received: (qmail 54620 invoked by uid 500); 6 Jul 2010 07:46:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 54354 invoked by uid 500); 6 Jul 2010 07:46:10 -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 54346 invoked by uid 99); 6 Jul 2010 07:46:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 07:46:09 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [164.15.128.112] (HELO mxin.ulb.ac.be) (164.15.128.112) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 07:46:01 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcBAKdzMkykD30E/2dsb2JhbAAHgxWQLLpEkQOEM3IEh2Q Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 06 Jul 2010 09:45:41 +0200 Message-ID: <4C32DF25.9000109@ulb.ac.be> Date: Tue, 06 Jul 2010 09:45:41 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: users@httpd.apache.org References: <1278397699.13616.1.camel@topaz.wgtn.cat-it.co.nz> In-Reply-To: <1278397699.13616.1.camel@topaz.wgtn.cat-it.co.nz> Content-Type: multipart/mixed; boundary="------------030908080406000900030402" X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] FastCgiExternalServer, PHP --------------030908080406000900030402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/06/2010 08:28, Richard Hector wrote: > Hi all, > > I'm getting really confused - the docs on FastCGI seem a little skimpy, > and other resources are how various people may have made it work, and I > haven't managed to get a configuration that works yet. > > My objective is to run a particular PHP site as a particular user, for > security reasons. My understanding is that I can't use SuExec for > mod_php, so I have to use CGI or FastCGI, of which FastCGI is faster :-) > > It seems that FastCgiExternalServer keeps everything nicely separated, > so that's the choice I'm going with at the moment. > > Now is the point at which I get lost, because there are so many > different configs thrown up by google. > > Some use Alias directives, some use AddType and Action directives; some > use real-looking paths for the first argument to FastCgiExternalServer > and others don't. > > I'm pretty sure I got to a point where everything worked, except that a > url with no path didn't return index.php - the DirectoryIndex directive > appeared to have no effect, and php tried to run with no content. > > Unfortunately I don't have that config working at the moment; I've > hacked around a bit aimlessly and lost track - and anyway, I should > really replicate it without client details before posting a config on > here. > > So what I guess I'm asking for is a simple config that works, of which I > can ask explanations of the bits I don't understand - I think that's the > real problem with all the bits I've found, is that there are minimal > explanations of _why_ a particular directive is used, and why. > > I'll try to get an experimental config up a bit later (hometime here > now). > > Oh - the other thing is I need to support this in a Name based > VirtualHost - and only one. The other sites should continue to work on > mod_php, if that's possible. > > I'm running Debian Lenny (Apache 2.2.9, PHP 5.2.6). > > That's probably a big fail for 'Asking smart questions' - > sorry :-( Hopefully I'll be more coherent tomorrow, but I figured I'd > take advantage of my timezone difference from most of the world by > getting this out there now :-) > > Thanks, > > Richard > I answered something like this on the fbsd mailing list a year ago: http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202133.html hope it helps .. > > > --------------------------------------------------------------------- > 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 > -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------030908080406000900030402 Content-Type: text/x-vcard; charset=utf-8; name="jcigar.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jcigar.vcf" begin:vcard fn:Julien Cigar n:Cigar;Julien org;quoted-printable:Belgian Biodiversity Platform;ULB (Universit=C3=A9 Libre de Bruxelles) adr:;;;Brussels;;;Belgium email;internet:jcigar@ulb.ac.be tel;work:+32(0)26505752 x-mozilla-html:FALSE url:http://www.biodiversity.be version:2.1 end:vcard --------------030908080406000900030402 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- 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 --------------030908080406000900030402--