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
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"