[rt-users] Telling a web site to user Perl 5.8

josh josh at saratoga.lib.ny.us
Thu Dec 4 15:34:39 EST 2003


This was great progress for me.  I still have some problems. I believe
I need to fix some sort of PATH or ENVIRONMENT someplace, so that the
script gets executed with /usr/local/bin ahead of /usr/bin. I'm no
longer crahsing the web server -- I may have copied your set up too
literally but it is way better than mine.

Now what happens is:
====================================================================
[Thu Dec  4 15:25:31 2003] [error] Can't locate RT/Mason.pm in @INC
(@INC contai
ns: /usr/sausalito/perl /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0 
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 21) line 3.

[Thu Dec  4 15:25:31 2003] [error] Undefined subroutine
&RT::Mason::handler call
ed.

[Thu Dec  4 15:25:31 2003] [error] Undefined subroutine
&RT::Mason::handler call
ed.
====================================================================-

I believe line 3 is where webmux.pl is required. 

On Thu, Dec 04, 2003 at 12:38:33PM +0100, David.Addison at infineon.com wrote:
> I've included below the virtual server section of my fastcgi installation in
> case it's useful
> 
> <VirtualHost *>
>     ServerAdmin *@*.*
>     DocumentRoot /opt/rt3/share/html
>     ServerName *.*
>     AddDefaultCharSet UTF-8
>     ErrorLog logs/error_log
>     CustomLog logs/access_log common
>     <Location /server-info>
>         SetHandler server-info
>         Order deny,allow
>         Deny from all
>         Allow from .*.*
>     </Location>
> 
>     ScriptAlias /cgi-bin/ "/opt/rt3/bin/"
> 
>     FastCgiServer /opt/rt3/bin/mason_handler.fcgi
>     Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
>     ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
>     #
>     <Directory "/opt/rt3/bin">
>         AllowOverride None
>         Options None
>         Order allow,deny
>         Allow from all
>     </Directory>
> </VirtualHost>
> 
> I may be over simplifying things but it might be worth changing the first
> line of the mason_handler.fcgi file to point to your local installation of
> perl 5.8 (if you haven't already)
> 
> Dave
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

-- 
Josh Kuperman                       
josh at saratoga.lib.ny.us




More information about the rt-users mailing list