Displaying 20 results from an estimated 2000 matches similar to: "Apache proxy + lighttpd + rails"
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and
I must be missing something very obvious because I cannot get things
working properly. Here is what I need:
1) The server must be running apache 1.3. A very large body of PHP
content is currently vended by the server through 5 vhosts and I have
neither the time nor resources to replace apache1 with apache2 or
lighttpd. Maybe
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
everything works great using the script/server command, but isn''t that
still using WEBrick? how do i server my apps with lightTPD?
i tried following the instructions given here:
http://duncandavidson.com/essay/2005/12/railsonlighty
but have had no
2005 Dec 29
2
form_remote, getting data from submit
Hi list,
I'm writing a little survey application, and surveys are generated
dynamically. I use form_remote_tag and AJAX to submit the form to a
method 'submit' in my 'survey' controller.
The view generates the form as:
<tr>
<td>Question 1?</td>
<td><input id="resultset_1" name="resultset[1]" size="30"
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working,
fighting with lighty for awhile, and learning a bit more about linux
in the process, I think I''m really close to getting i2 up and running.
However, when I try to access my wiki, I get either a blank page or
an error 500 and the stack trace below gets sent to the log. If I
can''t get this working soon
2005 Dec 27
4
acts_as_versioned
Hi,
I'm integrating acts_as_versioned (ar-versioned.rubyforge.org) in my
customized CMS rails application to set up revision control for pages.
Getting and viewing versions works allright, but when I try to revert
to a version in the following way, nothing happens to the actual data
in the object.
Link from page:
<%= link_to image_tag('revert'), :action => 'do_revert',
2006 Jan 11
1
Keep ketting weird error, NoMethodError in Admin#create_survey Keep getting ''undefined method `assign_variables_from_controller'' for #<Survey:0xb7462244>''
Hi list,
I keep getting the following error:
NoMethodError in Admin#create_survey
undefined method `assign_variables_from_controller'' for #<Survey:0xb7462244>
contents of Admin#create_survey is:
@template = Survey.find(params[''survey''][''id''])
render :layout => false
I have no idea where this comes from, bug in Rails?
--
Michiel Sikkes
2006 May 25
3
No joy for newbie Capistrano user
Hello,
I tried taking Capistrano out for a test drive and I can''t even get out of
the garage.
I am following the instructions here:
http://manuals.rubyonrails.com/read/chapter/98#page262
As well as Duncan Davidson''s Deploying Rails with Lighty:
Deploying Rails with
LightTPDhttp://duncandavidson.com/essay/2005/12/railsonlighty
Specifically, when I do:
rake remote:exec
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 Jul 21
1
Lighttpd for rails app subdomain apache for the rest
I want to host a rails app at mydomain.com/railsapp. For technical
reasons I have to leave mydomain.com on apache. This means that I need
to tell apache to proxy only requests for mydomain.com/railsapp to
lighttpd. I have deployed in a situation like this before around a year
and a half ago but it was a real pain. Lighttpd and rails have matured
a lot in the year and a half since I did
2006 Feb 24
4
lighttpd and Apache .. will they play together?
Can someone point me to a tutorial or web example of doing this ...
I want to have a site that is normally pure content served via Apache and I
want to set up a Rails app on the same box that is served via lighttpd. Now
I want the Apache site to be able to retrieve formatted pages for MySQL
database queries by the Rails app. I will also be using ActionMailer under
the Rails app.
How can I
2007 Nov 08
0
error on migration
Hi all,
I''m just getting started with rspec. I''m using trunk rspec with edge
rails. I get an error on migration though, here it is:
rake db:migrate RAILS_ENV="test" --trace
(in /home/pat/railsapp)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `failure_message'' for class
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:
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info:
Apache 2.2
mongrel 1.0.1
mongrel_cluster 0.2.1
I''ve had everything working with a bunch of applications like this
when the the rails app is the document root, but a client just asked
to move the app to a subdirectory, leaving he rest of their site
alone. However, I can''t seem to get it to work. Let''s make the
assumption that the Apache document root for the
2005 Dec 19
1
Deploying with Sub Directories
Hi, I am following this "tutorial" on dreamhost to deploy with sub
directories:
1. Upload your railsapp to ~/railsapp/.
** I have uploaded to /sharemyten.com/list/ (list is my railsapp folder)
2. Make all necessary changes mentioned in the QuickStart Guide above.
** Did this...
3. Create a symlink at the location you want the subdirectory that
points to ~/railsapp/public/:
$ cd
2006 Feb 25
1
How to pre-populate Edit form in rails?
In our rails application, there is a model called Essay and another
called Tag. Essay ''has_and_belongs_to_many'' tags. When a user CREATEs an
essay, he gives the text in a text field which corresponds to a database
column in the essays table. The _form.rhtml also provides a text area
that lets the user tag the essay with keywords. The text area does not
correspond directly to
2007 May 31
0
Slave socket problem again
Hello!
I have been using backgroundrb for a small project. My worker task is
run every minute, checks the processing queue in data-base and execute
the business method from Rails if something is to be done.
Unfortunately I was hit by the problem of backgroundrb server dying
after some runs. The exception is:
20070531-11:06:05 (31816) Starting worker: s_e_work sql_exe
(s_e_work_sql_exe) ()
2013 Jan 22
2
Rails 4: Should a HEAD request not be handled like a GET for CSRF protection?
I am running a Rails 4 app in semi-production and I constantly get
exceptions from crawler bots that use a HEAD HTTP method, which causes the
CSRF protection to kick in.
Shouldn''t HEAD requests normally be handled like GET requests?
I am not sure if I''m just being stupid or that hit is a bug somewhere.
Michiel
--
You received this message because you are subscribed to the
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra,
Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1&
MiddleMan2, running in 2 machines.
When Chater1 login, RailsApp call MiddleMan1 to get something about
Chater1 from db to memory, like his contacts or other personal settings.
When Chater2 login, RailsApp call MiddleMan2 do the same thing.
But who is reponsible for the Global Data? like a Online Chaters
2006 Jun 06
2
Running a script on my server
Hello, I am rather new to Ruby On Rails but have it installed on my computer
and have created a test project that works. My next objective is to get the
script up and running on my server for public access.
I am getting hosted from a private host. The host does support Rails, and
does have it up and running currently. Well, that''s all the information I
have. I have Cpanel with shell