From owner-freebsd-stable@FreeBSD.ORG Wed Feb 28 13:41:04 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 E55A816A403 for ; Wed, 28 Feb 2007 13:41:04 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id AC2DF13C48E for ; Wed, 28 Feb 2007 13:41:04 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.14.0/8.14.0/NETPLEX) with ESMTP id l1SDf0kL019667; Wed, 28 Feb 2007 08:41:01 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.ntplx.net [204.213.176.10]); Wed, 28 Feb 2007 08:41:01 -0500 (EST) Date: Wed, 28 Feb 2007 08:41:00 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Andrew Reilly In-Reply-To: <20070228042229.GA33810@duncan.reilly.home> Message-ID: References: <20070228042229.GA33810@duncan.reilly.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Apache13/MoinMoin/Python vs PATH? What changed? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen 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 13:41:05 -0000 On Wed, 28 Feb 2007, Andrew Reilly wrote: > 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? See this thread: http://groups.google.com/group/mailing.freebsd.cvs/browse_thread/thread/a0344851d94df36f/e94a3c524ff22732?lnk=st&q=&rnum=3#e94a3c524ff22732 If that link doesn't work, search groups.google.com, "/usr/bin/env python group:*freebsd*" and see the "cvs commit: src/etc rc.subr" thread. -- DE