[rt-users] httpd.conf Help

Mike Umphreys mumphrey at pop100.gsfc.nasa.gov
Thu Oct 7 12:20:05 EDT 2004


Here is what I get when I try to display the webpage

 

package RT::Mason;
 
use strict;
use vars '$Handler';
use File::Basename;
require ('/usr/local/RT-3.2.2/bin/webmux.pl');
 
# Enter CGI::Fast mode, which should also work as a vanilla CGI script.
require CGI::Fast;
 
RT::Init();
 
while ( my $cgi = CGI::Fast->new ) {
    # the whole point of fastcgi requires the env to get reset here..
    # So we must squash it again
    $ENV{'PATH'}   = '/bin:/usr/bin';
    $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
    $ENV{'SHELL'}  = '/bin/sh' if defined $ENV{'SHELL'};
    $ENV{'ENV'}    = '' if defined $ENV{'ENV'};
    $ENV{'IFS'}    = '' if defined $ENV{'IFS'};
 
    RT::ConnectToDatabase();
 
    if ( ( !$Handler->interp->comp_exists( $cgi->path_info ) )
        && ( $Handler->interp->comp_exists( $cgi->path_info . "/index.html"
) ) ) {
        $cgi->path_info( $cgi->path_info . "/index.html" );
    }
 
    eval { $Handler->handle_cgi_object($cgi); };
    if ($@) {
        $RT::Logger->crit($@);
    }
 
 
    if ($RT::Handle->TransactionDepth) {
        $RT::Handle->ForceRollback;
        $RT::Logger->crit("Transaction not committed. Usually indicates a
software fault. Data loss may have occurred") ;
    }
 
 
}
 
1;

 

Im trying to use fastcgi.  Let me know if you need anything else.

 

 

Sr. Network Administrator

The Boeing Company

301-614-6980

mumphrey at pop100.gsfc.nasa.gov

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20041007/d94bc7c4/attachment.htm>


More information about the rt-users mailing list