Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 75915 invoked from network); 16 Oct 2010 01:13:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Oct 2010 01:13:04 -0000 Received: (qmail 56696 invoked by uid 500); 16 Oct 2010 01:13:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 56676 invoked by uid 500); 16 Oct 2010 01:13:01 -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 56668 invoked by uid 99); 16 Oct 2010 01:13:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 01:13:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rotsen@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 01:12:54 +0000 Received: by wwe15 with SMTP id 15so1417730wwe.12 for ; Fri, 15 Oct 2010 18:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=JSVIAeyFaSNgSr3tBRGwvt0JWZj3uj2PdJ08Z5JWx1k=; b=pd1r2W1lougB6jAT2NWwpC7eOFCtVB2uSgXoYOqSCejY1fTg8RoiY/414Apl9S3k52 PrMaNEjb0RcLiRFBqBZnHwRgW+Ia9XoOFLqf8Glp0CoCvlUNNbVeSbKkIx8gCK0bSTdg EBK89U8T5+9y476aU1zc+/jar4E8JqHH/hKmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=e2+PeX3oq8ga/CctRFOxrPbAWxg4LznPyCLNlFEd+hm2OiE589voSOfVss1EWw8+uT 5Af3IF/gLui6dVJXPNBzIu+FHjdRwsbvektW/xkYFPjJXLSVfDU+JmXHm/Cs+jpFPDK7 Dmm2NYL2lsLu1Ww84RNawd18InkTpMFXTRIzs= MIME-Version: 1.0 Received: by 10.216.138.65 with SMTP id z43mr1640531wei.12.1287191547555; Fri, 15 Oct 2010 18:12:27 -0700 (PDT) Received: by 10.216.162.82 with HTTP; Fri, 15 Oct 2010 18:12:27 -0700 (PDT) In-Reply-To: <4CB8C8CE.1090909@sbcglobal.net> References: <1287176621.2433.14.camel@sd-hpnote> <1287177928.2433.26.camel@sd-hpnote> <4CB8C8CE.1090909@sbcglobal.net> Date: Fri, 15 Oct 2010 18:12:27 -0700 Message-ID: From: =?ISO-8859-1?B?TulzdG9y?= To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=0016e6dee775f330230492b1a22a Subject: Re: [users@httpd] Different PHP Version for a VirtualHost --0016e6dee775f330230492b1a22a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable See if you have a .htaccess and take a look at it, it might have default information in this file. :-) On Fri, Oct 15, 2010 at 2:34 PM, Dave Mansfield w= rote: > > > Stefan D=FCrrenberger wrote: > >> Am Freitag, den 15.10.2010, 15:06 -0600 schrieb Brian Hirt: >> >> >>> Maybe you can run a different apache process with the version of PHP yo= u >>> need on a different port and use mod_rewrite/mod_proxy from the public >>> apache? >>> >>> >> >> It would work, but it seems complicated. There should really be a way to >> configure this in one apache instance. I'm confused why it does work >> for .php4-extensions, but not .php. But thanks, if I can't resolve this, >> it's a workaround to try. >> >> >> > I don't know the code - but it seems that using AddType will not > necessarily *override* the existing MIME association at some higher > precedence. Have you tried ForceType in an appropriate context with your > php4-specific scripts? Something like: > > > ForceType php4-cgi > > > -- D Mansfield > > > --------------------------------------------------------------------- > 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 > > --0016e6dee775f330230492b1a22a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable See if you have a .htaccess and take a look at it, it might have default in= formation
in this file.

:-)

On Fri, Oct 15, 2010 at 2:34 PM, Dave Mansfield <dmansfield@sbcglob= al.net> wrote:


Stefan D=FCrrenberger wrote:
Am Freitag, den 15.10.2010, 15:06 -0600 schrieb Brian Hirt:
=A0
Maybe you can run a different apache process with the version of PHP you ne= ed on a different port and use mod_rewrite/mod_proxy from the public apache= ?
=A0 =A0

It would work, but it seems complicated. There should really be a way to configure this in one apache instance. I'm confused why it does work for .php4-extensions, but not .php. But thanks, if I can't resolve this= ,
it's a workaround to try.

=A0
I don't know the code - but it seems that using AddType will not necess= arily *override* the existing MIME association at some higher precedence. = =A0Have you tried ForceType in an appropriate context with your php4-specif= ic scripts? =A0Something like:

<FilesMatch "\.php$|\.php4$">
=A0ForceType php4-cgi
</FilesMatch>

-- D Mansfield


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.<= br> See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
=A0" =A0 from the digest: users-digest-unsubscribe@httpd.apache.o= rg
For additional commands, e-mail: users-help@httpd.apache.org


--0016e6dee775f330230492b1a22a--