From owner-freebsd-questions@FreeBSD.ORG Wed Oct 4 15:12:45 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C66C16A40F for ; Wed, 4 Oct 2006 15:12:45 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA3243D53 for ; Wed, 4 Oct 2006 15:12:42 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by nf-out-0910.google.com with SMTP id n15so533124nfc for ; Wed, 04 Oct 2006 08:12:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JDwOyQuq6cfCVXk6ctE0Ex6Uzg7aq9td2KkiHU6XW1NZRNiCMgo6uQ2tVAIh1oBpJfp2LEMIhVMvOjsj9kJ07T0ZP0hPh7kZcABPpDvAiciN7uc1wFEsaXoOKdxgaJO66h3NPZTd2E+e5Rr0bZ6Z5z3RHtkaopbl7qAp7FVnw2Q= Received: by 10.48.48.15 with SMTP id v15mr2483415nfv; Wed, 04 Oct 2006 08:12:40 -0700 (PDT) Received: by 10.49.63.18 with HTTP; Wed, 4 Oct 2006 08:12:40 -0700 (PDT) Message-ID: Date: Wed, 4 Oct 2006 08:12:40 -0700 From: "Atom Powers" To: "CTLD Design Ltd" In-Reply-To: <000601c6e7ba$2fe35a00$0600a8c0@CTLDLTD> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000601c6e7ba$2fe35a00$0600a8c0@CTLDLTD> Cc: questions@freebsd.org Subject: Re: Information please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 15:12:45 -0000 On 10/4/06, CTLD Design Ltd wrote: > Hi > > I have just aquired a server with freebsd on it, the site I want to run on it needs to be able to show php within a html document, using a .htaccess file in the root directory of the site. > > I have tried many different ways within the htaccess file but it just keeps trying to download the file, have I wasted my money or is there a work around for this, changing the pages file extension is not an option, the site is currently on an ensim server and works fine for running php within html. > Your question is better addressed to the Apache list, this isn't a problem with FreeBSD. The files, their extensions, and how the server processes them have nothing to do with the .htaccess file. You probably need to install the PHP libraries and configure Apache (httpd.conf) to use them. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--