Displaying 20 results from an estimated 20000 matches similar to: "AJAX burning up the cpu"
2006 Jul 28
6
need recommendations for apache configurations
I''m running a rails app on FedoraCore4 and so far have been using
lighttpd and fastcgi. I''ve decided to switch to apache because lighttpd
has been far too unstable, unpredictable, and slow. I don''t know if it''s
lighttpd or the combination of lighttpd and fastcgi but it''s just not
working for me. I need something that has been proven to work and
2006 Apr 19
2
How to use multiple buttons on the same form with AJAX?
Hi,
We are trying to use multiple submit buttons in the same form to tie to
different actions on the server side.
For example:
<input name="commit" type="submit" value="edit">
<input name="commit" type="submit" value="cancel">
<input name="commit" type="submit" value="test
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
I''m getting strange data back from my worker whenever I run our rails
app with more than one dispatcher under lighttpd.
just to give some info on what the app does:
user submits data to rails app. rails app hands off data to worker,
which goes and does it''s thing, storing results in an array of
response objects (the array is an attribute of the worker). the
response object
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel
and apache and I looked into lighttpd and fastcgi and found both to be
too time consuming and not well enough documented for what I''m doing.
My question is, how do I set up apache and fcgid to actually work? I got
apache installed. I think I got fcgid installed (I read somewhere all I
have to do is move the
2006 Jun 23
0
AJAX not working with lighttpd but working with webrick
I''m using a little bit of AJAX code in my rails project and it''s causing
quite a headache. I''m using webrick to for testing and development and
the AJAX code works. Rails generates the javascript code inside the view
and everything is fine. But when I test it under lighttpd which is what
I will be using for production it doesn''t work. When I view the source
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
Hi list,
In one of my previous projects I had to satisfy the requirement of handling
browser back- and forward calls within an Ajax application. Thus I didn''t
get an urge to switch the JS part of this project to an other framework like
dojo (which supports Browser history handling out-of-the-box), I had to come
up with an idea of doing this with prototype/scriptaculous.
The arisen
2007 Jan 25
0
Full-Dulpex Ajax module for Lighttpd
Hello,
Full-Dulpex Ajax module v 0.5 for Lighttpd released. Designed for RoR.
http://www.refwell.com/blog/index.php/2007/01/25/full-dulpex-ajax-module-for-lighttpd/
Regards,
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all,
I''ve run into trouble attempting to replicate something in ajax that
worked when done with an iframe...
In both cases I have a table inside a div that is being periodically
refreshed every few seconds... The 1st column of each row in the table
contains a link to a DHTML popup menu. I have the popup menu working in
the ajax version.
The problem is that in the ajax version
2006 Mar 21
1
Konqueror Ajax update
I had been comparing IE and Firefox Ajax performance, and since I have a
couple of Unix boxes in my workshop, I threw Konqueror into the mix, and
reported here earlier today (or yesterday) that Konqueror ( 3.4.3) could
handle Ajax perfectly, at least as far as the simplest AWDWR Ajax example
(./example/index) was concerned.
It occurred to me to do a more grueling test.
I took the
2006 Mar 08
3
Run command via SSH session displaying results via AJAX
I am trying to create a web app that allows me to invoke a command on
another server via an SSH session. I am currently doing this as
follows:
1) User is presented with a form to enter server, command, username and
password.
2) User clicks "Run" and form is submitted to the "run_command" action.
3) The "run_command" action initiates an SSH session using net-ssh
2007 Mar 08
0
Using send_file and handling browser side cacheing
I''m using send_file to send rather large SWF files that I''d prefer the
end browser to cache to reduce my bandwidth usage.
I''ve used the method suggested by madrobby (http://mir.aculo.us/
2005/08/28/internet-explorer-and-ajax-image-caching-woes) to try to
catch the HTTP_IF_MODIFIED_SINCE request header, and then return HTTP
304 if necessary. However, this only seems to
2006 Mar 15
0
FCGI hanging w/ LightTPD in about 24-48 hours
I started an earlier thread about this ... Someone suggested a different
version of LightTPD, since the version I was using had some known issues
with FCGI. Well, we''ve upgraded to LightTPD 1.4.11 and the problem is
still happening.
We have Rails running under fcgi (one process) under LightTPD. This, in
turn, is proxied to by Apache. This is on a test IP, so only a few
people should
2006 Jan 22
0
problem setting up lighttpd and rails app.
I am trying to set-up lighttpd and rails to work with fastcgi.
Here is what I am currently using for the virtual host definition. I
have gotten this from various websites. Sorry about the formatting I
can''t seem to control it with Thunderbird.
var.wholesale = "wholesale"
$HTTP["host"] =~ "^wholesale" {
server.document-root = "/var/lighttpd/"
2006 Mar 28
3
compiling php with fcgi on tiger
I can''t figure out how to compile php with fcg enabled.
I found a website which gives an example of how to write options in
configure
http://scoops.totallyrule.com/articles/2006/02/01/mysql5-ab-package-and-php5
So I wrote
./configure --prefix=/usr/local --program-suffix=5 --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect
--with-mysqli=/usr/local/mysql/bin/mysql_config
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
2006 Apr 17
0
Trailing Slash Issues
Hello,
I''m using Lighttpd and I am having problems with links like this:
http://mydomain.com/controller
If I do not add the trailing slash it downloads the dispatch,fcgi as a
file.
Here is the lighttpd.conf
#
# Server Main Config
#
#include "lighttpd-inc.conf"
server.modules = ("mod_rewrite", "mod_accesslog", "mod_fastcgi")
server.port =
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box
running Rails 1.0.0 and Lighttpd 1.4.10
I followed the instructions in the wiki
(http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the
same error:
linux:/etc/lighttpd # lighttpd -f lighttpd.conf
2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello.
Since two days I am trying to set up two rails-apps on a vserver-host so
that I can access from work ;-)
I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI,
Lighttpd, Apache, Alias, Vhosts,....
But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails
1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems
0.8.11, Apache 2.0.54, Lighttpd
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to
set up typo so that it also works (with a different url). I have 4 URLs
running -- let''s call them foo.com, bar.com, www.typo.com and
php.typo.com
I am starting lighttpd by going into the directory where my foo.com app
is and typing either ruby script/server or script/server -e production
-- either
2006 Aug 04
0
Proxy from Apache to local Lighttpd instance
Hello,
I''m having a serious problem proxying from Apache (2.2) to local Lighttpd
servers. I need this to run Rails instances on www.mysite.com/rails next to
the regular part from www.mysite.com.
Currently I get a working www.mysite.com/rails for only the first page,
controllers do not work. I am quite desperate in getting this to work as it
is the only way I can run Rails at our