[rt-users] FastCGI issues?

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Mon Jul 16 17:34:55 EDT 2007


A couple of things.  I assume you have this somewhere in your apache
configs:

LoadModule fastcgi_module modules/mod_fastcgi.so

Apache probably wouldn't start up without loading this module in your
configuration, but...

Also, what are the following values in RT_SiteConfig.pm?

Set($WebPath)
Set($WebBaseURL)

In your configuration, I would assume the following:

Set($WebPath , "/");
Set($WebBaseURL , "https://rt.abc.com");



James Moseley




                                                                           
             mailing list                                                  
             <sunlist at yahoo.co                                             
             m>                                                         To 
                                       jmoseley at corp.xanadoo.com           
             07/16/2007 04:14                                           cc 
             PM                                                            
                                                                   Subject 
                                       Re: [rt-users] FastCGI issues?      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





--- jmoseley at corp.xanadoo.com wrote:

> What's your complete apache RT config?  Not the whole httpd.conf file,
just
> the stuff relative to RT.


Portion of the httpd.conf points to rt.conf file.

# more httpd.conf

# Tell FastCGI to put its temporary files somewhere sane.
FastCgiIpcDir /tmp
# Number of processes is tunable, but you need at least 3 or 4
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes
10
# FastCGI stuff for RT (can't be in a virtual host section)
Include "/usr/local/apache2/conf/rt.conf"


# more rt.conf
<VirtualHost 192.168.1.1:80>
        RewriteEngine on
        RewriteCond %{HTTPS} off
        #RewriteRule ^/(.*) https://rt.abc.com/admin/$1 [R]
        RewriteRule ^/(.*) https://rt.abc.com/$1 [R]
        ServerAdmin admin at abc.com
        DocumentRoot /opt/rt3/share/html
        ServerName rt.abc.com
        ServerAlias rt
        ErrorLog logs/rt-error_log
        CustomLog logs/rt-access_log common
</VirtualHost>

<VirtualHost 192.168.1.1:443>
        SSLEngine on
        SSLCertificateFile /usr/local/apache2/conf/sslcert/rt.cert
        SSLCertificateKeyFile /usr/local/apache2/conf/sslcert/rt.key
        SSLVerifyClient none
        SSLVerifyDepth 10
        ServerAdmin admin at abc.com
        DocumentRoot /opt/rt3/share/html
        ServerName rt.abc.com
        ServerAlias rt
        ErrorLog logs/rt-error_log
        CustomLog logs/rt-access_log common

# this block is for RT running with fastcgi
        AddHandler fastcgi-script fcgi
        ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/





____________________________________________________________________________________Ready

for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/



____________________________________________________________________________________Ready
 for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/





More information about the rt-users mailing list