Displaying 20 results from an estimated 2000 matches similar to: "downloads dispatch.fcgi for every request!!"
2006 May 26
0
setup problem, every request trys to download dispatch.fcgi
Has anyone ever seen it where every request tries to download a fcgi
file but marked as a .rb file?
Im running LightTPD 1.4, Ruby 1.8.4, FastCGI.
The lighty config is...
var.basedir = "/var/www/sites/"
$SERVER["socket"] == "101.0.0.171:80" {
var.servername = "stage.butlerandtanner.com"
server.document-root = basedir + servername + "/public/"
2006 Jun 21
2
access to application.rb methods
Why can''t I access the utility methods defined in applicaion.rb from the
model classes? If that does not work, where is the best place to put
common utility methods that must be available to all the models.
thanks
--
Posted via http://www.ruby-forum.com/.
2011 Jan 11
2
Problems with activex
I have one http applicaion that uses activex to load, my problem is that i can`t seem to install ie4linux that from what i understand works with activex.
This is the only thing i need to fix to kick windows out the door.
I`m using ubuntu 10.10. What wine version do i need to use in order for it to work ?
2009 Nov 25
1
unable to add the flash player helper
hi
i am trying to add the flash player helper on applicaion.
when i install the the svn i got this error
how to solve this?
# ruby script/plugin install svn://rubyforge.org/var/svn/flashplayrhelpr
svn: Can''t connect to host ''rubyforge.org'': Connection refused
and also i try this
# rake flash_player:install
(in /home/malathi/www/videoapp)
rake aborted!
2008 Oct 08
10
The puppet equivalent of mkdir -p
Hi all,
I''d like to add a several directories and I can''t seem to do it with a
single "file" directive.
Say /home/jeff exists and I want to add /home/jeff/src/my/dir/path
I tried:
file { "/home/jeff/src/my/dir/path":
path => "/home/jeff/src/my/dir/path",
mode => 0755,
owner => jeff,
group => jeff,
ensure =>
2006 Mar 13
5
UPS Shipping Table?
Has anyone been able to get a UPS shipping calculator implemented into
their site with Rails? It seems the only options they show on their site
both use UPS''s own page displayed either standalone or within your own
header and footer, but no straight API with a callback or anything. Can
anyone point me in the right direction?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a
problem that I haven''t been able to find more than a single reference to
online.
When my .htaccess file has the CGI rewrite rule in effect, my Rails app
works. When I change to FastCGI, all I get for Rails requests is the
contents of the dispatch.fcgi file.
Thinking I may have screwed something up
2006 Aug 09
0
FastCGI - how to relocate dispatch.fcgi outside of rails app
Howdy.
Due to a rather unique hosting setup, I need to relocate the
dispatch.fcgifile to a directory outside of
/path/to/application/public.
The setup looks like:
/path/to/content/RailsApp/ -- all application files
/path/to/fcgi-bin/RailsApp/ -- dispatch.fcgi
I''ve modified dispatch.fcgi to find environment.rb; however, all requests
for static files (index.html, javascripts, etc) fail
2006 Jun 21
2
displaying contents of dispatch.fcgi rather than running it
SYSTEM: Apache2/RHEL4/FastCGI latest gem, ruby and rails builds.
--
i''ve installed rails on the above system. i get the ''riding on rails''
welcome page, but when i click ''about your applications environment'', it
returns the contents of the dispatch.fcgi file, instead of running it.
i''ve been struggling with this one for quite some time with
2006 Jun 26
1
Dispatch.fcgi h-e-double hockey sticks...
Hello Everyone ~
Last week I started having a dispatch.fcgi process go out of control on my
Linux server. If I don''t catch it the process will eat my RAM, and devour
my swap file until the machine becomes non-responsive. I am running
Lighttpd and have not had any issues until lately.
The logs are not telling me anything useful, and as a quick fix I am running
the site using Mongrel,
2006 Apr 07
0
Permissions error on dispatch.fcgi
After changing some ownerships in my rails app directory to try to get
Radrails to work I''m getting the following error when I try to run any rails
app:
[Thu Apr 06 22:16:01 2006] [alert] [client 127.0.0.1] (13)Permission denied:
FastCGI: failed to connect to (dynamic) server
"/var/rails/tutorial/public/dispatch.fcgi": something is seriously wrong,
any chance the
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi.
I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I
have configured lighttpd to do adaptive spawning of the FastCGI
processes.
However, after shutting down lighttpd the FastCGI processes remain
running.
Did this problem occur to anyone of you? Is there a fix?
I''d be really grateful for every answer.
Regards,
Manuel Holtgrewe
2006 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500.
I tried running dispatch.fcgi by hand and I''m getting:
# ./dispatch.fcgi
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant RailsFCGIHandler (NameError)
from ./dispatch.fcgi:24
Not sure how to proceed from here.
2006 Feb 28
2
dispatch.fcgi aborted: error parsing headers
I''m trying to do file upload with rails and fcgi. Basically, i want my
users to be able to upload images on the server.
After the upload, I get a 500 error from apache and in the error log I
find this:
FastCGI: comm with server
"/var/www/workspace/mydomain/public/dispatch.fcgi" aborted: error
parsing headers: malformed header
2006 Jan 02
1
/usr/local/bin/ruby dispatch.fcgi process - which website?
If I list a rails process on my system I get:
PID TT STAT TIME COMMAND
52077 ?? I 0:09.74 PATH=/usr/local/bin:/usr/bin:/bin
/usr/local/bin/ruby dispatch.fcgi
I can also find out the owner of the process from the ps command, no
problemo.
Problem: the user has multiple websites on his account , how do I find
out which website a process is for?
It would be great if I would see
2006 Jan 12
0
Rename dispatch.fcgi and routing stops working
I would like to rename dispatch.fcpi to host1_dispatch.fcgi,
host2_dispatch.fcgi, etc in order to allow Switchtower to kill the
right fcgi dispatch processes on deployment. But when I rename
dispatch.fcgi routing to the controllers stops working, any ideas why
this file name is important?
ActionController::RoutingError (Recognition failed for ""):
2006 Jan 16
0
Lighttpd/FastCGI dispatch.fcgi processes
I have the fastcgi.server part of my lighttpd.conf like this:
fastcgi.server = (
".fcgi" => (
"test" => (
"socket" => "/tmp/test1.socket",
"bin-path" => "/home/paulbarry/public/dispatch.fcgi",
"min-procs" => 1,
"max_procs" => 2
)
)
)
When I start
2005 Dec 19
1
FastCGI: comm with (dynamic) server dispatch.fcgi aborted
I just did a "gem update" on my server updating to the latest version.
After this none of my scripts work.
In apache error log I get:
FastCGI: comm with (dynamic) server
"/home/user/public_html/dispatch.fcgi" aborted: (first read) idle
timeout (30 sec)
My only guess is that the problem is related to the fastCGI binding but
I have no idea what to look for. I
2005 May 23
1
Handling of SIGUSR1 in dispatch.fcgi
The latest version of dispatch.fcgi in the trunk has
the following code snippet:
trap("USR1") do
# Go to exit as soon as possible.
end
One of the issues I encountered while debugging
fcgi under windows is that SIGUSR1 is not supported
in the native Windows version of Ruby (though it is
in cygwin).
Currently, I have it commented out to allow dispatch.fcgi
to run without blowing up.
2004 Nov 18
0
Ruby 1.8.2 breaks dispatch.fcgi
Hi,
dispatch.fcgi does:
require ''fcgi''
FCGI.each_cgi { |cgi| Dispatcher.dispatch(...
Because each_cgi is only in fcgi.rb, this is dependant on finding fcgi.rb
first.
Rub 1.8.2 shows the following $LOAD_PATH
/usr/lib/ruby/1.8/i386-linux-gnu
/usr/lib/ruby/site_ruby/1.8/i686-linux-gnu
/usr/lib/ruby/site_ruby/1.8
/usr/lib/ruby/site_ruby/1.8/i686-linux
/usr/lib/ruby/site_ruby