Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 38438 invoked by uid 500); 1 Jun 2003 13:21:09 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 38422 invoked from network); 1 Jun 2003 13:21:09 -0000 Received: from 198-93-112-61.xdsl.qx.net (HELO rhiannon.rcbowen.com) (198.93.112.61) by daedalus.apache.org with SMTP; 1 Jun 2003 13:21:09 -0000 Received: from localhost (localhost [127.0.0.1]) by rhiannon.rcbowen.com (8.10.2/8.9.3) with ESMTP id h51DL8V06331; Sun, 1 Jun 2003 09:21:08 -0400 Date: Sun, 1 Jun 2003 09:21:08 -0400 (EDT) From: Rich Bowen To: users@httpd.apache.org, replies@omershenker.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Re: Problems using PHP filters with mod_cgi On Sun, 1 Jun 2003, Omer Shenker wrote: > On Saturday 31 May 2003 at 21:54 WC -Sx- Jones wrote: > > You sure you don't get "bar" -- I mean that should be what > > is printed > > IF php was eval'ing like you state... > > Yeah, I'm sure. The PHP evals but then the Perl doesn't. Or vice versa, > depending on the configuration. But I can't get them both to eval for the > same request--and the Perl needs to eval first anyway. You don't need the InputFilter, if I understand you correctly. You just need the AddHandler and the AddOutputFilter. The names mean what they say, and you are not filtering any input. (Input is what comes in from the client.) However, I don't expect that this is the source of your problem. I know that the following works: AddHandler cgi-script .cgi AddOutputFilter INCLUDES .cgi However, I don't have PHP installed right now to test the analogous PHP configuration. -- Rich Bowen - rbowen@rcbowen.com ... and another brother out of his mind, and another brother out at New York (not the same, though it might appear so) Somebody's Luggage (Charles Dickens) --------------------------------------------------------------------- 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