[Radiant] Apache 1.3 + FastCGI shared hosting problems

David A. david13lt at yahoo.com
Wed Apr 25 15:11:12 CDT 2007


/config/eviroment.rb

Add line: ENV['HOME'] = '/home/davidlt' #just change "davidlt" yo our user. On some hosting RoR doesn't work without it.

----- Original Message ----
From: doug <doug at netdotnet.net>
To: radiant at lists.radiantcms.org
Sent: Wednesday, April 25, 2007 7:22:50 PM
Subject: Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

hi All,

John W. Long wrote:
> David A. wrote:
>   
>> Error log from CPanel:
>> [error] Premature end of script headers: /home/davidlt/public_html/portal2/public/dispatch.cgi
>>     
>
> Ok, something is not right. I don't know how to tell you to fix it 
> exactly, but my guess is that it is either:
>
> 1) The permissions aren't set correctly
>
> 2) A library or file that dispatch.cgi is using wasn't found or has the
>     wrong permissions
>
> The premature end of script headers means that the script is dying 
> before it can even start up.
>
> BTW, you are using CGI not Fast CGI. Is this intentional? CGI is not 
> considered to be production worthy for Rails apps.

I am getting the same kind of error (only running under
apache2+mod_fcgid on debian sarge)

I also get this:

[Wed Apr 25 15:45:50 2007] [notice] mod_fcgid: server
/var/www/radiant-test/public/dispatch.fcgi(30212) started
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.0/vendor/rails/railties/lib/rails_generator/lookup.rb:33:in
`expand_path': couldn't find HOME environment -- expanding `~'
(ArgumentError)

permissions look fine.

unsure if thats a helpful addition, but thought i'd flag it anyway.

cheers,

-- 
doug lang                            tel: +44 (1273) 808949
*nix sysadmin                        http://www.netdotnet.net/
technical consultant                 mailto:doug at netdotnet.net

_______________________________________________
Radiant mailing list
Post:   Radiant at lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20070425/4a6de341/attachment.html


More information about the Radiant mailing list