Displaying 20 results from an estimated 10000 matches similar to: "Proxy 502 error on file upload with rails 2.3.2"
2006 Aug 10
2
Mongrel servers running in a subdirectory behind a proxy
I was able to find some information about this in the list archives,
but it ended with a possible patch being submitted for Mongrel.
I tried to follow a few of the instructions, but I''m still kind of
stuck, since I''m not sure if what I''m seeing is the proper results. I
have an application running on a cluster of mongrel servers, which is
behind pen, which in turn is
2008 Apr 24
1
Date not changing...
I run Apache/2.2.8 (FreeBSD), mongrel_cluster (1.0.5) and mongrel
(1.1.3) The app I have issues with is a Rails 1.2.6 app.
In one controller I have a before filter that sets the month, year
variables to the current month and year if it''s not passed in the
request. The problem that I now have, after changing to the above
configuration from a lighttpd/fast-cgi), is that the date
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 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 Jun 08
13
Errror on update after Model.rebuild_index
Hi
I use Ferret 0.11.4 and the latest stabel version of the acts_as_ferret
plugin.
To the issue. if I do Model.rebuild_index and after that try to update
one of my objects of that Model I get:
File Not Found Error occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
tried to open
2007 Jun 04
5
Sorting and getting occurrences of search in hit
Is there any way you could get the number of occurrences of the search
in one hit?
In a result I get the ferret_rank and ferret_score but not how many hits
the search generated in the current record.
I would also like to be able to sort after this when I search.
/mattias
--
Posted via http://www.ruby-forum.com/.
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
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 Jul 19
0
[mongrel_cluster] hosting multiple web sites via apache mod_proxy_balancer
I''m newbie to mongrel,
I''m not able to config mongrel_cluster in order to host multiple web sites added/remove as apache VirtualHost.
I followed codahale http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
mixed with Wiki Radiant (I use Radiant as a rails apps to be deployed, 1 domain 1 radiant sites with its own document tree
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}
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
2006 Dec 11
2
Does mongrel look at the Rails page cache?
Hi all. I''m trying to skip the Rails page cache if the user is logged
in:
---
# Rewrite index to check for static
RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$
RewriteRule ^/$ /index.html [QSA]
# Rewrite to check for Rails cached page
RewriteCond %{HTTP_COOKIE} !^.*logged_in=yes.*$
RewriteRule ^([^.]+)$ $1.html [QSA]
# Redirect all non-static requests to cluster
RewriteCond
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 Mar 22
1
Make ferret serach for english words like "and"
I use ferret on a danish site where I would like ferret to search word
like "under" and "and". These are words that are excluded by ferret but
have a different meaning in danish.
Can you dissable this in ferret?
Cheers
Mattias
--
Posted via http://www.ruby-forum.com/.
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
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
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,
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
2007 Jan 10
0
capistrano disable_web with mongrel_cluster
Ok,
So I''m running mongrel_cluster behind a hardware load balancer. I don''t
have apache running at all, just mongrel_cluster.
Does anyone know how I can get cap disable_web/enable_web to work
without Apache. With no apache I can''t just make an .htaccess file
change like the docs state.
has anyone rewritten disable_web/enable_web to work with just
mongrel_cluster and
2006 Apr 24
4
mongrel_cluster 0.1: easy mongrel clustering
Hi y''all;
A quick note to announce the release of mongrel_cluster, a gem_plugin
for Mongrel. This plugin provides commands for managing multiple
Mongrel processes behind a reverse-proxy server and load balancer.
To install:
gem install mongrel_cluster
Configure (use -h to options):
mongrel_rails cluster::configure
Start:
mongrel_rails cluster::start
I''ve posted a quick