From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 01:03:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8043F106566C for ; Sun, 4 Jan 2009 01:03:34 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0F18FC13 for ; Sun, 4 Jan 2009 01:03:33 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 87EB229411 for ; Sat, 3 Jan 2009 20:03:33 -0500 (EST) Received: from teddy.fas.com (c-76-26-198-188.hsd1.sc.comcast.net [76.26.198.188]) by mailbackend.panix.com (Postfix) with ESMTP id 49582190AB for ; Sat, 3 Jan 2009 20:03:33 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LJHOu-0006jY-00 for ; Sat, 03 Jan 2009 20:03:32 -0500 Date: Sat, 3 Jan 2009 20:03:32 -0500 From: stan To: Free BSD Questions list Message-ID: <20090104010332.GA25704@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 19:55:17 up 237 days, 2:17, 1 user, load average: 0.07, 0.02, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: PHP setup question 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: Sun, 04 Jan 2009 01:03:34 -0000 I am trying to get the ampcache port working on a 7.1 machine. I have installed the port, which puts it's files in /usr/local/www/a,pcache. I have my Apache serer configured to use /usr/local/www/data as it's documentroot: DocumentRoot "/usr/local/www/data" I made the php5 port, with a configuration to create the php5 apcehc module, and I have added this to the http.conf file: LoadModule php5_module libexec/apache22/libphp5.so I have also added the folowing: Options Indexes FollowSymLinks ExecCGI and DirectoryIndex index.html index.php and . . AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps and restarted Apache Yet when I point my browser to http://my_machine/ampcache I get a "Not Found" error. What am I doing wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.