Displaying 20 results from an estimated 7000 matches similar to: "recommended setup of Mongrel_cluster + SSL for multiple apps?"
2006 May 08
10
Apache 2.2, ProxyPass and HTTPS
Hi all,
I''m currently trying to get Mongrel running my app whilst fronted by
apache 2.2 in a sub-directory via https. A bit convoluted I''ll grant
you but necessitated by existing systems.
The pertinent parts of my httpd.conf:
<VirtualHost 123.123.123.123:12345> #historic choice of random port number
DocumentRoot /var/www/admin
ServerName admin.example.com:12345
2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions....
I''m a few days away from going live with my first RoR application. It
is completely database centric and each user will have his own queries
so cacheing will not really help.
I have a dedicated linux server being built by my hosting provider and I
need to tell them which webserver to use. The databse is MySQL
2006 Feb 16
1
HABTM -VS- belongs_to/has_many, for self-referential joins
Ok, David says on page 241 that sometimes a many-to-many relation with
attributes are better implemented as an actual model instead of using HABTM.
Well, I''ve got that situation and I can''t figure it out.
All of the examples in the book have HABTM examples between 2 different
tables, but I want to have a HABTM relation on 1 table with itself. (e.g.,
if I have a table Things,
2006 May 11
6
Howtos: Deploying Rails on Windows servers
After a lot of work (and much promising) I have written instructions
on various methods to deploy Rails applications in a Windows
environment. For those of you who are not stuck with Windows, this
won''t matter too much to you, but I think this is really useful for
those in Windows shops.
Topics covered:
* Serving Multiple Rails Applications on Windows with Apache and
Mongrel
* Integrate
2006 May 02
2
Autotest doesn''t work on WinXP?
When I try to run autotest (zenspider) (which looks VERY cool), I get this
error:
(run from within a Rails app directory)
C:\ruby_home\analysis>autotest -rails
# Testing updated files
+ c:/ruby/bin/ruby -Ilib:test -e ''["test/unit/user_test.rb",
"test/unit/role_test.rb"].each { |f| load f }'' | unit_diff -u
''c:'' is not recognized
2006 Mar 02
3
Modifying "Find" to always add a condition?
I''d like to always add a condition to any version of "find" (e.g.
Thing.find(), Thing.find_by_name(), Thing.find_by_whatever) so that in
addition to whatever conditions are set, an additional condition is set
:conditions=>"user_id=#{current_user.id}"
I''d like to make sure that a user only sees/edits/creates entries in the
database that have the user_id
2006 Jul 27
3
[somewhat OT] Apache config for Rails + ColdFusion + PHP
Our group has several web apps developed in ColdFusion, PHP, and Rails. The
ColdFusion and PHP apps are on an older server, and the Rails apps on a new
server. Ideally, we''d like them all to share the same server.
Our current setup for the Rails server is Apache2.2 with mod_proxy_balancer
and mongrel_cluster. We''d like to have specific directories be processed
and served by
2006 Oct 20
5
Apache/Mongrel Question
I''m setting up a new server in anticipation of switching from lighttpd+fcgi. My application isn''t completely imported yet, so I don''t expect it to work. For instance right now when pulling up my app from localhost I get my Ruby/Rails MySQL error message. But when I pull it up from a remote computer I get a proxy error from Apache:
======================
Proxy Error
2006 Jun 12
15
Mongrel Now Recommended Setup?
I see that the RubyOnRails.com site has migrated to Mongrel with Apache as a
front-end proxy.
Is that now the/a recommended setup for Rails apps? We''re still using FCGI
but I''m always interested to learn more about other folk''s successful
deployment choices.
Across all of our sites we''re pumping out about 300k pages per day so
anything that saves memory or has
2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please:
What is the benefit of having more than one Mongrel/Rails instance on
the same machine, could one instance not serve as many requests as say
three instances?
Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running
load balancer which runs on a separate port, I could not work it out
from the sample Apache config...
|# Redirect all non-static
2007 Jun 24
3
Fastest Way to run Rails
Hi,
I am a bit confused about what is the fastest way to run a rails application.
I have seen examples which use Apache, mongrel, lighthttpd, fastcgi etc.
Is there a correct way to do it? Or is it just a personal choice?
Thanks,
Keith
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Aug 18
3
New automated Capistrano setup for Apache2.1+ and mongrel_cluster
Hi mongrel users!
I just posted a bad-ass capistrano file that automates *everything*
for setting up an apache2+mod_proxy_balancer and
mongrel+mongrel_cluster -- including apache2 setups. It''s based off
Coda Hale''s guide and all Bradley''s work at fluxura and RailsMachine
(thanks Coda and Bradley!).
It''s, well, bad-ass, if I must say so myself. My favorite
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to
enable compression (assuming it improves throughtput) and limit file
size upload. I configured mod_deflate and LimitRequestSize in Apache,
but in my trials looks like the proxied calls bypass those directives
(the conf goes below).
Is there a way to get this?
-- fxn
# Adapt this .example locally, as usual.
#
# To be
2006 Jul 23
9
Kubuntu, Apache 2.2, Mongrel, Mongrel Cluster
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_notes
Type: application/octet-stream
Size: 5801 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/34e20e45/new_notes.obj
2006 May 10
2
Output Compression in Mongrel?
I''d like to implement output compression in Mongrel (ala Apache''s
mod_deflate). I have found a Rails plugin that, with minor modification,
works.
Is there even an advantage to moving the output compression from the Rails
app to a Mongrel handler?
Unless, of course, someone knows how to configure mod_proxy_balancer with
mod_deflate...
==
Will Green
Web Developer & IT
2007 Oct 15
24
Design flaw? - num_processors, accept/close
Rails instances themselves are almost always single-threaded, whereas
Mongrel, and it''s acceptor, are multithreaded.
In a situation with long-running Rails pages this presents a problem for
mod_proxy_balancer.
If num_processors is greater than 1 ( default: 950 ), then Mongrel will
gladly accept incoming requests and queue them if its rails instance is
currently busy. So even
2006 Jun 07
10
RoR with Apache2 - performance?
How is the performance running RoR with Apache2 compared to running it
with PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 25
3
problem with *.foobar.com urls
I am using Apache2.2 + mod_proxy_balancer + mongrel setup and my
mongrel.conf file(for apache is like this)
2
3 <Proxy balancer://mongrel_cluster>
4 BalancerMember http://127.0.0.1:9000
5 BalancerMember http://127.0.0.1:9001
6 BalancerMember http://127.0.0.1:9002
7 </Proxy>
8
9 <VirtualHost *>
10 ServerAdmin rags at
2007 Dec 13
1
mod_proxy_balancer mod_rewrite permission issue
I started the mongrel_cluster and tried to use the RewriteRule to forward
the requests to proxy_balancer just as the
http://mongrel.rubyforge.org/docs/apache.html said.
When I visited my site from a remote computer, I always got the error
messages "Forbidden, You don''t have permission to access / on this server."
Finally, I added the "Allow from all" property (in the
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But
i don''t understand what part Lighttpd (or Apache) has in the setup. I
know that you can use Mongrel on its own. What does Lighttpd improve
on?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.