Displaying 20 results from an estimated 4000 matches similar to: "extending 'ProxyTimeout'"
2007 Mar 29
0
Resolved problem with Apache Load Balancer Manager
Had to make a couple of changes to the config from the mongrel site to get
the load balancer manager working:
changed
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]
to
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME}
2008 Jul 22
0
ProxyTimeout
I''m using Apache Proxy (Apache 2.2.3) with mongrel_cluster and in
production, I have a report that is hitting the timeout limit
(sometimes, not always).
It seems to limit at 2 minutes.
According to Apache documentation, it should be 300 (which I presume is
seconds) and so in my httpd.conf, I inserted ''ProxyTimeout 600'' and
restarted Apache but it doesn''t seem
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
2007 Oct 18
0
Mongrel-users Digest, Vol 21, Issue 16
According to the mongrel_cluster.yml file you provided, you''re starting only
14 mongrels, but in your proxy balancer config you have 30 mongrels listed
on ports 21000 - 21029. In this scenario, if apache tries to proxy to any
ports higher than 21014 then you''ll get a proxy error as a mongrel doesn''t
exist on that port.
Or am I missing something?
-----Original
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
2007 Apr 17
5
Session problem mongrel behind Apache proxy
Hi,
I''ve configured mongrel_clusters behind an Apache 2.2 proxy using
named virtual host. Session are saved as ActiveRecordSession. But the
cookies created on client side doesn''t correspond to session data
saved in database (keys are different). The RoR app react just like
it doesn''t have a session at all.
If I don''t use Apache as a proxy/load balancer
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 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 Nov 13
1
Service Temporarily Unavailable when using apache
hey all,
I''m trying to do a mongrel_cluster+apache2 config.
this is my testapp.conf:
<VirtualHost *:80>
Include /etc/apache2/conf.d/testapp.common
# ErrorLog logs/testapp_errors_log
# CustomLog logs/testapp_log combined
</VirtualHost>
this is my testapp.common:
ServerName myapp.com
DocumentRoot /home/patcito/testapp/public/
<Directory
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
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
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
2007 May 21
0
Apache mod_proxy mongrel_cluster and subversion http
Hello everyone,
I have a site setup where I need to have svn access and my rails app
accessible on the same IP. Right now I can only seem to have one or the
other.
This is a production environment... I''m running Ubuntu 7.04 server with
apache2 and mod_proxy serving rails requests to 2 mongrel servers via
mongrel_cluster and it works great to serve the app when I use this
httpd.conf file
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
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
Hi all
I got a vps setup amazingly fast using the deprec recipes on Ubuntu
edgy, but now I''m having a minor issue where my site loads for the
main domain when I only want it accessible from the subdomain. This
is a pretty typical setup, apache 2.2.3 -> mongrel_proxy_balancer ->
mongrel cluster. I''m sure I''m missing something obvious in the
config...
I have the
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 Jun 29
3
mongrel tuning with httperf - suspicious results
Hello all,
I''m attempting to test/tune a mongrel cluster according to the tuning
instructions on the mongrel site (using httperf). Anecdotally, the site
itself ''feels'' snappy, but testing it with httperf reveals what appears to
be terrible throughput. I''m kind of at a loss to describe the results, and
was hoping someone could verify that I''m testing
2007 Jun 03
3
mongrel cluster w/ apache
hi all,
i''m working on deploying my app w/ apache and a mongrel cluster. i''ve
started by copying the instructions and code from the agile rails book
and everything seems to be working fine but apache isn''t forwarding my
requests to mongrel the way i expect it should. there''s nothing in the
rewrite logs and nothing but 404 errors in the apache error logs.
2006 Dec 07
0
compression + max file size upload liimit?
I am using Mongrel Cluster with Apache 2.2.3 + 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
NameVirtualHost *:80
# Configure the
2007 Jun 03
6
mongrel cluster w/ apache
hi all,
i''m working on deploying my app w/ apache and a mongrel cluster. i''ve
started by copying the instructions and code from the agile rails book
and everything seems to be working fine but apache isn''t forwarding my
requests to mongrel the way i expect it should. there''s nothing in the
rewrite logs and nothing but 404 errors in the apache error logs.