From owner-freebsd-stable@FreeBSD.ORG Wed Feb 28 05:35:18 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60B4A16E494 for ; Wed, 28 Feb 2007 05:35:18 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from qsrv03sl.mx.bigpond.com (qsrv03sl.mx.bigpond.com [144.140.92.183]) by mx1.freebsd.org (Postfix) with ESMTP id F231813C4AC for ; Wed, 28 Feb 2007 05:35:17 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from oaamta01sl.mx.bigpond.com ([144.132.228.157]) by omta01sl.mx.bigpond.com with ESMTP id <20070228042510.YPGI25624.omta01sl.mx.bigpond.com@oaamta01sl.mx.bigpond.com> for ; Wed, 28 Feb 2007 04:25:10 +0000 Received: from areilly.bpa.nu ([144.132.228.157]) by oaamta01sl.mx.bigpond.com with ESMTP id <20070228042510.DRVL27396.oaamta01sl.mx.bigpond.com@areilly.bpa.nu> for ; Wed, 28 Feb 2007 04:25:10 +0000 Received: (qmail 34272 invoked by uid 501); 28 Feb 2007 04:22:29 -0000 Date: Wed, 28 Feb 2007 15:22:29 +1100 From: Andrew Reilly To: freebsd-stable@freebsd.org Message-ID: <20070228042229.GA33810@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: Apache13/MoinMoin/Python vs PATH? What changed? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 05:35:18 -0000 Hi all, Funny thing happened after the last upgrade (upgraded to 6-STABLE yesterday): the moinmoin wiki that I've been playing with stopped working. A little fiddling found that I could make it work again by changing the shebang at the top of /usr/local/www/wiki/moin.cgi (ScriptAlias points there, in httpd.conf) from #!/usr/bin/env python to #!/usr/local/bin/python Now, it appears that * python is in /usr/local/bin, as expected * /usr/local/bin is still in the default path in /etc/login.conf * none of the Apache or MoinMoin config files have been touched since November last year, when I set it up. It seems that apache-1.3 went through an upgrade on Jan 17 (here), probably the last time that I ran portupgrade. Has it changed, to filter /usr/local/bin out of the PATH that cgi scripts see? I'm not very adept at Apache configuration, but I don't see anything in the httpd.conf file that talks about PATH. Any thoughts? -- Andrew