Displaying 20 results from an estimated 900 matches similar to: "mod_proxy_balancer mod_rewrite permission issue"
2007 Nov 21
6
mod_proxy_balancer under heavy load.
So I''m still working on a ''perfect'' setup so I can document it on the wiki,
and will submit some puppet patches against 0.23.2 next week, but here''s
what I''ve done that has made a big difference to stability here.
in puppetmasterd at line 261, I''ve modified the Mongrel instantiation from:
server = Mongrel::HttpServer.new(addr,
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
2006 Nov 08
2
Apache 2.2.3 setup woes
Good morning everyone,
I am running apache 2.2.3 compiled from source and proxy load balancer as
described on the mongrel site.
I have a total of three sites, this setup works really well for two of them
but for one of them, I keep getting "Forbidden" errors and this error in the
apache logs:
[warn] proxy: No protocol handler was valid for the URL /. If you are using
a DSO version of
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
2013 Aug 02
2
Exporting Load Balancer Worker Resources
Hi,
Recently i''ve studying puppet by reading and doing the examples from this
book: "Pro puppet".
books.sysadmins.su/system/files/Pro.Puppet.pdf
On page 145 from this book there is example about Exporting Load Balancer
Worker Resources.
I created the files inside already existing apache module.
/etc/puppet/modules/apache/manifests/balancermember.pp
define
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but
I''m not finding any guidance on this problem. When I try to talk to my
mongrel it simply responds with NOT FOUND and nothing else. I can''t
find anything on google because this has to be the second most commond
phrase in existence.
Any help or guidance would be greatly appreciated.
Sincerely,
Chuck Vose
2006 Jul 16
6
Apache2.2 + Mongrel: what do you think about these perfs?
Hi all,
I''ve been spending quite a lot of time trying to install a decent RoR
server on my dedicated server (Ubuntu 6.06 LTS), and now, everything
works.
However, the performances are not really what I had expected... I would
like to know what you think about it.
Here is my config: 2GHz VIA proc, 1Gb RAM, SATA-II HD.
I have apt-got ruby 1.8.4, mysql5 and installed rails 1.1.4 by
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
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 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
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
2008 Jun 16
3
Apache rewrites with mongrel
I?m knew to rewrites on apache in combination with mongrelcluster.
It?s urgend for me, because the server has an loadaverage about 10
:-(((((
Ok so I?m using 3 mongrel-server on an mongrelcluster. The Loadbalancer
ist apache
I think, that my rewrites are not correct. Please can anybody check my
rewrites ?
That?s in my /etc/apache2/conf.d/rails.proxy_cluster.conf
<Proxy
2008 Jan 23
7
Apache, Mongrel, Authentication
A question about mongrel, apache and authentication.
I''ve got a Rails site with I think a very typical setup: a mongrel
cluster behind an Apache proxy. So Apache''s handling the static stuff
and it hands off dynamic content to mongrel. I want to put the site
temporarily behind Apache''s basic authentication. What I get when I
do this is that is a password prompt which
2006 Aug 16
3
(no subject)
Hi everybody,
We are developing several applications on a single server and I''m
looking for a way to use mongrel with each of them. Right now,
http://testapp.com/ is being served on that machine through apache
and mongrel. Here''s what a part of my apache config looks like:
<Proxy balancer balancer://testappcluster>
BalancerMember http://127.0.0.1:8000
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
Hello,
I am configuring apache 2.2 to serve my rails app through mongrel at
the root of my server. First, I redirect all http traffic to https
with the following:
ServerName emiliano
NameVirtualHost *:80
<VirtualHost *:80>
RedirectPermanent / https://emiliano #this server is only accessed internally
</VirtualHost>
Inside the <VirtualHost *:443> section, I have the following
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
2007 Mar 13
3
dropping lighty+fastcgi and moving to apache+mongrel in production
Most of my machines have apache+mongrel running but the mongrels are using
the localhost.
In my production environment, I have 4 boxes. I have setup 2 http servers (
apache 2.2.4 ) and 2 app servers. They are currently using lighttpd+fastcgi.
Which I am changing this week.
I want to get advice from you guys before I actually do this since this is
my production env.
I have installed apache on the
2007 Feb 26
2
Apache+mod_proxy_balancer+Mongrel+Mephisto, Apache kills CPU
Our Mephisto install kills Mongrels and causes Apache to pound the
CPU. This started when we moved to Apache+mod_proxy_balancer+Mongrel.
Here''s what we know:
The following things are working OK, except when used in the
combination listed above: mongrel, mongrel_rails, MySQL, Apache,
mod_proxy_balancer. We believe these are all OK because we moved five
other Rails apps to this
2013 Feb 01
3
Cannot get puppetlabs-haproxy to do what I want
I''ve been having a mess of a time using this module, which stinks because
its behavior is EXACTLY what I am looking for... whenever I bootstrap new
rabbitMQ nodes I want to add them to our HAProxy instance.
Here''s my relevant site.pp entries:
node /^rabbit.*/ inherits basenode {
@@haproxy::balancermember { $fqdn:
listening_service => ''messaging00'',
2007 Jan 17
2
mongrel cluster (+ Apache 2.2.4 + proxy balancer) not redirecting correctly
I''m in the process of setting up a mongrel cluster at the moment, and I''m
running into a bit of an issue. Even worse is that I''m not sure whether
this is a mongrel thing, or an Apache thing. While I''m inclined to think
that this might be a balancer thing, I decided there was a higher chance
hearing back from mongrel-users than from apache-users, so I''d