|
From: Shane <sh...@lo...> - 2004-06-18 10:58:59
|
On Jun 17, 2004, at 5:35 PM, Shane wrote:
>
> anyone running this new 'section-topics-rewrite' code under OSX? if so
>
> 1) did you have any problems and
>
> 2) how did you set your INIT var to define how slashd is started
> up/where the startup script is located under OSX.
>
>
> I did a fresh rm -fR /usr/local/slash && cvs update && make install
> The site responds when you hit the .shtml's, but if you hit a perl
> script, nothing happens.
Here's the fix. Put this at the end of your httpd.conf, *before* all
the Includes:
PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied
*STDOUT; }"
So tail end of my /etc/httpd/httpd.conf on my powerbook (10.3.3) looks
like this:
# Rendezvous advertising for the primary site is off by default.
#RegisterDefaultSite
</IfModule>
# fix for mod_perl print()
#PerlTransHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"
PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied
*STDOUT; }"
Include /private/etc/httpd/users/*.conf
Include /usr/local/slash/httpd/*.conf
Shane
--
One gadget to catch them all, and in digital darkness bind them.
|