From owner-freebsd-questions@FreeBSD.ORG Thu Aug 10 16:31:30 2006 Return-Path: X-Original-To: freebsd-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 EFAE516A4DE for ; Thu, 10 Aug 2006 16:31:30 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6146B43D5C for ; Thu, 10 Aug 2006 16:31:30 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id C20C613C7CB; Thu, 10 Aug 2006 11:36:50 -0500 (CDT) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 4C4ED13C7CA; Thu, 10 Aug 2006 11:36:50 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 4B47713C7BF; Thu, 10 Aug 2006 11:36:50 -0500 (CDT) Date: Thu, 10 Aug 2006 11:36:50 -0500 (CDT) From: Philip Hallstrom To: "Clark, Ronald" In-Reply-To: <091E3B749D89554698A94C9FD3A6B62C01B1C201@eglsxch17.egl.corp> Message-ID: <20060810113628.Y6898@bravo.pjkh.com> References: <091E3B749D89554698A94C9FD3A6B62C01B1C201@eglsxch17.egl.corp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: rsclark@kingwoodcable.net, freebsd-questions@freebsd.org, Javier Henderson Subject: RE: New Web Server 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: Thu, 10 Aug 2006 16:31:31 -0000 > Ok, I just tried that, and it wants to open index.php with a text > editor. It is acting like Apache does not know how to handle a *.php > file. > > In my httpd conf, http://www.php.net says to add LoadMudule and > AddMudule statements. Are those still needed? I believe so... unless you've built it statically they are... > > RC > > -----Original Message----- > From: Javier Henderson [mailto:javier@kjsl.com] > Sent: Thursday, August 10, 2006 11:27 AM > To: rsclark@kingwoodcable.net > Cc: freebsd-questions@freebsd.org; Clark, Ronald > Subject: Re: New Web Server > > > On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: > >> >> Hello all, >> >> >> I am building a new web server , and have gotten Mysql, Apache and >> PHP (php5-extensions) loaded from the p orts. However, Apache is >> not >> picking up my index.php file. Is there a step somewhere that I >> have >> missed? I have added >> >> A ddType application/x-httpd-php .php .phtml >> AddType application/x-httpd-php-source .phps >> >> >> to the httpd.conf f ile, still no luck. > > Does it work if you append /index.php to the URL? > > If so, add index.php to your DirectoryIndex stanza. > > -jav > > ________________________________________________________________________________ > > This email is intended only for the use by the party to which it is addressed > and may contain information that is privileged, confidential, or protected by > law. If you are not the intended recipient, you are hereby notified that any > dissemination, copying or distribution of this email or its contents is strictly > prohibited. If you have received this message in error, please notify the sender > immediately by replying to the message and deleting it from your computer. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >