[rt-users] Famous RT + FastCGI error

Avishay Aton avishay.aton at gmail.com
Wed May 24 11:48:39 EDT 2006


I am trying to setup rt 3.4.5 with fastcgi on redhat enterprise 4 .
i took the configuration from
RHEL4InstallGuide.<http://wiki.bestpractical.com/index.cgi?action=search;search_term=RHEL4InstallGuide>
I also read the "RT Essential book"

my /etc/httpd/conf/httpd.conf Virtual host  :

NameVirtualHost *:80
  <VirtualHost *:80>
    ServerAdmin root
    ServerName rt3.example.com
    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8
    # Adding the following for RT (the ticket tracker)
    AddHandler fastcgi-script .fcgi
    <Directory "/opt/rt3/share/html">
      Options FollowSymLinks ExecCGI
      AllowOverride None
    </Directory>
###    # Pass through requests to for noauth
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
    ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
  </VirtualHost>
  FastCgiIpcDir /tmp
  FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes
4



whenever i run apache(without errors ) , i get in the log file:

[warn] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" started (pid 9452)
[Wed May 24 18:38:38 2006] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" started (pid 9453)
[Wed May 24 18:38:39 2006] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.f



when i  try :
http://rt3.example.com/


i get the following in the error log:
[error] [client x.x.x.x] FastCGI: incomplete headers (0 bytes) received from
server "/opt/rt3/bin/mason_handler.fcgi"




whenever comment out the line
"ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/"

then restart apache , i get the famous "you're Almost there" page.
I checked all permissions (rt was as installed with the same user apache
runs)
i checked the /opt/rt3/bin/mason_handler.fcgi manually and it works.
I read the FastCGIConfiguration<http://wiki.bestpractical.com/index.cgi?action=search;search_term=FastCGIConfiguration>dozen
of times.
'I also tried to put "ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/"
in different places of httpd.conf.

what is wrong with my configuration  ?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060524/758f0b88/attachment.htm>


More information about the rt-users mailing list