From owner-freebsd-questions@FreeBSD.ORG Thu Aug 10 16:35:15 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 D7DC716A4DD for ; Thu, 10 Aug 2006 16:35:15 +0000 (UTC) (envelope-from Ron.Clark@EagleGL.com) Received: from ironport.eaglegl.com (ironport.eaglegl.com [63.166.215.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3868443D60 for ; Thu, 10 Aug 2006 16:35:09 +0000 (GMT) (envelope-from Ron.Clark@EagleGL.com) Received: from unknown (HELO eglsxch11.egl.corp) ([57.33.99.33]) by ironport.eaglegl.com with ESMTP; 10 Aug 2006 11:35:09 -0500 Received: from eglsxch17.egl.corp ([57.33.99.52]) by eglsxch11.egl.corp with Microsoft SMTPSVC(6.0.3790.0); Thu, 10 Aug 2006 11:31:13 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7233.31 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 10 Aug 2006 11:30:36 -0500 Message-ID: <091E3B749D89554698A94C9FD3A6B62C01B1C202@eglsxch17.egl.corp> In-Reply-To: <20060810113628.Y6898@bravo.pjkh.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: New Web Server Thread-Index: Aca8mg5OvY+TSJpDRHGtHtCJaCVARgAACOHw From: "Clark, Ronald" To: "Philip Hallstrom" X-OriginalArrivalTime: 10 Aug 2006 16:31:13.0653 (UTC) FILETIME=[65434250:01C6BC9A] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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:35:16 -0000 When I add them to the conf file and try to start the web server, it says: "Cannot add module via name 'mod_php5.c': not in list of loaded modules" Does this help out at all? RC -----Original Message----- From: Philip Hallstrom [mailto:freebsd@philip.pjkh.com]=20 Sent: Thursday, August 10, 2006 11:37 AM To: Clark, Ronald Cc: Javier Henderson; rsclark@kingwoodcable.net; freebsd-questions@freebsd.org Subject: RE: New Web Server > Ok, I just tried that, and it wants to open index.php with a text=20 > editor. It is acting like Apache does not know how to handle a *.php=20 > file. > > In my httpd conf, http://www.php.net says to add LoadMudule and=20 > 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=20 >> not >> picking up my index.php file. Is there a step somewhere that I=20 >> 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=20 > addressed and may contain information that is privileged,=20 > confidential, or protected by law. If you are not the intended=20 > recipient, you are hereby notified that any dissemination, copying or=20 > distribution of this email or its contents is strictly prohibited. If=20 > 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=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > ___________________________________________________________________________= _____ =20 This email is intended only for the use by the party to which it is address= ed 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 str= ictly prohibited. If you have received this message in error, please notify the s= ender immediately by replying to the message and deleting it from your computer.