[rt-devel] RT3, FastCgi, and Solaris
Rich West
Rich.West at wesmo.com
Tue Mar 18 11:47:42 EST 2003
When I did the install way back when under Solaris 8, I believe I
hardcoded the path. Either that, or I modified @INC to reflect the
proper path. I cannot remember off hand, but I can go back and check..
-Rich
Michael K. Brown wrote:
>Hi Matt!
>
>I'm having the same problem with Solaris 8 and FastCGI, freshly compiled
>apache. You're not the only one!
>
>Hope somebody can help us out!
>
>/Mike
>
>
>Matt said:
>Has anyone been successful getting FastCGI to work right out of the box
>under Solaris? Unless I make code changes, running mason_handler.fcgi
>gives me:
>
>copper {local/rt3/bin} % /usr/local/rt3/bin/mason_handler.fcgi
>Can't locate /dev/fd/webmux.pl in @INC (@INC contains:
>/usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0
>/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
>/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl) at
>/dev/fd/3 line 28.
>Exit 2
>
>The problem appears to be that suidperl is given the perl script as
>/dev/fd/3, and so you lose the original __FILE__ contents.
>mason_handler.fcgi uses that to determine where to look for the
>webmux.pl
>file. If I hardcode the path into the script, things work just fine.
>
>I haven't thought of a portable way of fixing this yet, but thought that
>maybe someone else has.
> -Matt
>
More information about the Rt-devel
mailing list