[rt-users] Famous RT + FastCGI error

2006-05-24 Thread Avishay Aton
I am trying to setup rt 3.4.5 with fastcgi on redhat enterprise 4 .i took the configuration from RHEL4InstallGuide.
I also read the RT Essential bookmy /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 4whenever 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.fwhen 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 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
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] Famous RT + FastCGI error

2006-05-24 Thread Avishay Aton
Hi,I already done thatswitched to user web which is the user ,apache run underand 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-cacheSet-cookie: RT_SID_example.com.=3db8545102152ba16be3ca0dc20e48d1; path=/Cache-control: no-cacheContent-Type: text/html; charset=utf-8HTML
HEADTITLELogin/TITLElink rel=shortcut icon href="" type=image/png /link media=all rel=stylesheet href="" type=text/css /
link media=print rel=stylesheet href="" type=text/css /scriptfunction hideshow(num) { idstring = element- + num;
 chunk = document.getElementById(idstring);Pragma: no-cacheSet-cookie: RT_SID_compugen.co.il.=3db8545102152ba16be3ca0dc20e48d1; path=/Cache-control: no-cacheContent-Type: text/html; charset=utf-8
On 5/24/06, Vivek Khera [EMAIL PROTECTED] 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.fcgiat 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 yourhttpd server runs the fastcgi process.___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-usersCommunity help: http://wiki.bestpractical.comCommercial support: 
[EMAIL PROTECTED]Discover RT's hidden secrets with RT Essentials from O'Reilly Media.Buy a copy at http://rtbook.bestpractical.comWe're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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