similar to: AWD page 624-626 Understanding how Apache, Mongrel and Rais work together?

Displaying 20 results from an estimated 8000 matches similar to: "AWD page 624-626 Understanding how Apache, Mongrel and Rais work together?"

2006 Jan 17
8
Next Record
Okay, I know this will probably be a very easy question. But I am discovering that RonR makes just about everything easy. The problem is, it takes me a few hours to figure out that I can do it the easy way. I need to know how to move to the next record in a database. I want to format my out put in a table. For example, I want a 3 by 3 table. So record one goes in the first cell, record
2006 Apr 26
5
remote ruby
I''m building a collection of desktop app''s and want to use ruby, and Active Record in particular, as an intermediary layer to my databases. I''m not sure how to connect my development environment, Runtime Revolution, to Ruby and Active Record. One option is to just set up a RonR environment and have my app''s make calls that return regular text results
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure http://www.smtservers.com/demo/ I want to access the ruby app like this http://www.smtservers.com/demo/say/hello but I get a 404 error. Please let me know why. I am not sure the site structure is ok or not.Please give me a help Thanks Mark -- Posted via http://www.ruby-forum.com/.
2006 May 12
3
Permission denied ruby_sess?
I am really new to RonR. Anyone can give me a hand with this? I get the Application Error page and if I look at development log, this is what I see: Permission denied - /home/john/public_html/rails/myapp/public/../config/../tmp/sessions//ruby_sess.5b90dd63b9d25d2e Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site... http://wiki.rubyonrails.org/rails/pages/CalendarHelper The error I am getting is: NameError in Placements#list undefined local variable or method `date_format'' for #<PlacementsController:0xb78f9ef4> RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jun 24
1
@version_control_book not available while testing - AWD book 1 page 148
In the page 148 of the AWD book it''s mentioned that the while testing @products and @version_control_book are automatically made available. That''s not the case with me. In my test environment I don''t get those two variables. I was wondering if anything has changed in Rails 1.1 because in the new edition of the book (AWD - edition 2) there is no mention of such
2006 Feb 19
3
Rails urls & the AWD book
Greetings! I''m having a hard time understanding the way Rails handles urls. I''m specifically having real trouble with the image_urls in the Depot app in the Agile Web Development book. If I enter "\image\file.png" in the Add Product page, the image is displayed in the other views and Properties shows http://localhost:3000/images/file.png If I leave off the leading
2006 Jun 24
7
Newbie Q: "user" variable in every view?
Newbie to RoR -- as a long time Java Struts/etc. guy it is an awesome tool! I have implemented some basic login/session stuff with the help of a great tutorial, props to the author ( http://www.aidanf.net/rails_user_authentication_tutorial). I have a trivial instance method in ApplicationController, which just grabs the User object from the session. def current_user session[:user] end
2011 May 28
4
Rais 3, nested attributes problem with paperclip
I have two models, one model girl and one girl_photos (a file upload asset). The only code I have in models which describes the association is: For the girl => belongs_to :girl and has_attached_file :photo For the model girl_photos => has_many :girl_photos and accepts_nested_attributes_for :girl_photos I''ve tried to save as a nested attribute the photo, it saves the association
2006 Feb 08
2
Installing Rails on FreeBSD with Apache (and php)...
Hi, Sometime in the near future I''m going to attempt an installation of Rails on one of our school servers, so that a few of our most talanted students also will have the opportunity to learn RoR. The problem is that I''m not entirely sure on the best way to proceed, and I''m the only teacher on the school with Rails experience, but only for Windows. The server runs
2006 Oct 07
2
Proxying Apache to Mongrel, not sure if Apache is serving up static files
Let''s try this one... I have Apache 2.0.55 set up and also have Mongrel set up. I have Radiant set up running under Mongrel, and have Apache proxying to the Mongrel instance. That all seems to be working fine. I thought I''d modify the settings a bit to let Apache serve up the static files - images, stylesheets, etc. I have it set up, and am not getting any errors. However.
2006 Nov 24
2
Mongrel + Apache 1.3 + OpenBSD
Hello, I want to install a bunch mongrel servers with an apache in fronthead, all that on OpenBSD. But OpenBSD is released with a homemade Apache 1.3.29 patched by the OpenBSD team. I really want to keep this version of apache and I don''t want to change it to Apache 2.x (because of the security and the license but it''s not the point here). But for having mongrel, it has to be
2006 Jul 25
3
Getting ssl environment to mongrel from apache
I have apache 1.3 with mod_ssl in front of mongrel/rails. Apache is setup to require client certification, and I''m trying to figure out how to pass the ssl env variables to mongrel. Here is the apache config to proxy requests to mongrel. I haven''t tried to pass env variables like this before so I''m not sure if it''s the apache config I have wrong, if mongrel
2006 Apr 21
4
Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel
Cheers, I''ve just published a blog post about scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel. This way you do not need another proxy server or load balancer for Mongrel. Just use Apache 2.2 and mod_proxy balancer. http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel Jonathan -- Jonathan Weiss
2006 May 25
1
Instructions for virtual hosting with Apache + Mongrel?
Hi! I am trying to convince my hosting provider to install Mongrel (so that I can use it behind Apache 1.3). I have looked, but could not find any instructions on how to set up Mongrel for virtual hosting specifically. My hosting provider runs FreeBSD. Installing the Mongrel gem and providing each account with an extra higher port for proxing behind Apache seems to easy. Could it really be that
2006 Jul 23
1
Mongrel, Apache 2.2, Rails question. HELP!
Sorry to bother you with a Rails "newbie"-like question, but I have been tearing my hair out for a couple of days with the deployment scenario I am trying to setup. I use a service provider that supports multiple domains via Virtual Hosts. I have all the software installed and "working". I want to deploy two apps under my domain and have the following in my .conf file:
2007 Jun 05
3
Mongrel/Apache mod_deflate question
Hi Folks, We''re moving from a single lighttpd-hosted Rails box to a Apache/ mongrel cluster. In lighttpd, mod_compress had a very nice feature: if there''s a static file, it would compress it in a user-specified compress folder. If the file hasn''t changed, it would just serve out the compress file; if the file has changed, it would recompress it and serve it out.
2006 Nov 23
2
Mongrel + Apache 1.3 + OpenBSD
Hello, I want to install a mongrel rails server with an apache in fronthead, all that on OpenBSD. But OpenBSD is released with a homemade Apache 1.3.29 patched by the OpenBSD team. I really want to keep this version of apache and I don''t want to change it to Apache 2.x (because of the security and the license but it''s not the point here). But for having mongrel, it has to be with
2006 May 16
2
Pass env var from Apache to Mongrel?
I use Apache to serve the static pages and let Mongrel handle Rails requests via mod_rewrite/proxy. Apache RewriteRule can set environment variable on the fly, and this is one of the features I used, set an env var based on domain name. I used to use SCGI Runner which was fine as the env var was passed to Rails via scgi protocol. I seems can''t find a way to set env var in Mongrel on
2006 Mar 20
1
Mongrel + Apache = Parallel processing ?
Hello All, If I use Apache/mod_proxy with mongrel, will that give me multiple processes? I have a long-running request that blocks all other requests on a single mongrel service instance. Ideas? Thank you all! -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part