From owner-freebsd-questions Fri Apr 27 2:33:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 2FF1737B422 for ; Fri, 27 Apr 2001 02:33:08 -0700 (PDT) (envelope-from rasputin@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14t4cc-0006xg-00; Fri, 27 Apr 2001 10:33:06 +0100 Received: (from rasputin@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f3R9X2Y63729; Fri, 27 Apr 2001 10:33:02 +0100 (BST) (envelope-from rasputin) Date: Fri, 27 Apr 2001 10:33:02 +0100 From: Rasputin To: Kulraj Gurm Cc: questions@freebsd.org Subject: Re: Upgrade to 4.3 - Apache now gives strange errors Message-ID: <20010427103302.A63509@dogma.freebsd-uk.eu.org> Reply-To: Rasputin References: <5.0.2.1.0.20010426154144.00b11138@mail.bosa.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <5.0.2.1.0.20010426154144.00b11138@mail.bosa.ca>; from kulraj@bosa.ca on Thu, Apr 26, 2001 at 03:49:36PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Kulraj Gurm [010426 23:48]: > Our configuration is : > Apache 1.3.19 > mod_ssl 2.8.2 > openssl 0.9.6a > php 4.04pl1 > when browsing certain virtual hosts there is no problem, others bring up a > windows titled "File Download" > hard to explain but please take a look : http://www.intech-eng.com > however http://www.cavio.com (on the same box) works great? Apache doesn't know it's supposed to parse that file as a PHP script. Actually the file it sent me is a straight .htm file, so it's even more confused than that. I'd guess your MIME types are screwed, or you have some kind of override set up for that directory that tells apache everything in there is a PHP script. But even then I'd expect is to try to process it, then send the browser HTML. Weird. I don't use PHP so I'm not aware of any issues. Oddest thing I've seen since I screwed my httpd.conf and persuaded Apache that GIFs were CGi scripts, and it should try t oexecute thme whenever possible. > This leads me to conclude that the problem must be within httpd.conf > however the virtual host section of domains that work and ones that don't > looks identical. Do obth sites use PHP? If not, I'd blame the PHP config (php.ini?) -- This fortune is inoperative. Please try another. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message