Famous RT + FastCGI error

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

# Pass through requests to for noauth

Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
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 FastCGIConfigurationhttp://wiki.bestpractical.com/index.cgi?action=search;search_term=FastCGIConfigurationdozen
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

[error] [client x.x.x.x] FastCGI: incomplete headers (0 bytes)
received from server “/opt/rt3/bin/mason_handler.fcgi”

at the command line, run the mason_handler.fcgi and see what errors
it produces. for best results, run it as the same user ID as your
httpd server runs the fastcgi process.

smime.p7s (2.47 KB)

Hi,
I already done that
switched to user “web” which is the user ,apache run under
and typing :
" /opt/rt3/bin/mason_handler.fcgi" yields the RT LOGIN PAGE(i can see the
html in the console)
here is part of the output:
Pragma: no-cache
Set-cookie: RT_SID_example.com.=3db8545102152ba16be3ca0dc20e48d1; path=/
Cache-control: no-cache
Content-Type: text/html; charset=utf-8

Login function hideshow(num) { idstring = "element-" + num; chunk = document.getElementById(idstring); Pragma: no-cache Set-cookie: RT_SID_compugen.co.il.=3db8545102152ba16be3ca0dc20e48d1; path=/ Cache-control: no-cache Content-Type: text/html; charset=utf-8On 5/24/06, Vivek Khera wrote: > > > On May 24, 2006, at 11:48 AM, Avishay Aton wrote: > > > [error] [client x.x.x.x] FastCGI: incomplete headers (0 bytes) > > received from server "/opt/rt3/bin/mason_handler.fcgi" > > at the command line, run the mason_handler.fcgi and see what errors > it produces. for best results, run it as the same user ID as your > httpd server runs the fastcgi process. > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > We're hiring! Come hack Perl for Best Practical: > http://bestpractical.com/about/jobs.html > > >