From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 15:44:56 2005 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 E140316A41F for ; Wed, 3 Aug 2005 15:44:56 +0000 (GMT) (envelope-from david+dated+1123515894.562b42@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5628943D4C for ; Wed, 3 Aug 2005 15:44:56 +0000 (GMT) (envelope-from david+dated+1123515894.562b42@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.8p1/8.12.8) with ESMTP id j73FisQL081319 for ; Wed, 3 Aug 2005 11:44:54 -0400 (EDT) (envelope-from david+dated+1123515894.562b42@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.12.8p1/8.12.8/Submit) id j73FisWJ081318 for questions@freebsd.org; Wed, 3 Aug 2005 11:44:54 -0400 (EDT) (envelope-from david+dated+1123515894.562b42@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1123515894.562b42@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Wed, 03 Aug 2005 11:44:54 -0400 (EDT) Date: Wed, 3 Aug 2005 11:44:54 -0400 To: questions@freebsd.org, Sander Holthaus - Orange XL Message-ID: <20050803154454.GA77763@skytracker.ca> References: <20050803004141.GA3788@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i From: David Banning X-Delivery-Agent: TMDA/1.0.2 (Bold Forbes) Cc: Subject: Re: running lighttpd with FastCGI 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, 03 Aug 2005 15:44:57 -0000 > PHP has a meta-port for cgi: www/php4-cgi. Use that to start. There are a > few options you have to define, in the Makefile of lang/php4, you will find: Yes, I just found that reference on the lighttpd website. I actually did try it, but ran into access problems. I -did- achieve success by compiling the code available from the lighttpd website. Just so I understand how to handle options when compiling in the ports; > .if defined(WITH_REDIRECT) > CONFIGURE_ARGS+=--enable-force-cgi-redirect > .endif To enable this, in the correct port I would go; # make install WITH_DIRECT="yes" Is that the correct syntax for enabling options? Thanks for your comments. I am now having trouble finding alternatives for redirection to be placed on the .htaccess file. I don't see any reference for that on the lighttpd website. I will try to post to that site.