similar to: mongrel.conf redirects

Displaying 20 results from an estimated 60000 matches similar to: "mongrel.conf redirects"

2007 Oct 16
1
redirects with mongrel (dropping the www. from a url)
Hi All, I have a rails app running on an apache virtual host with mongrel that i want to set up a redirect from www.someapp.com to someapp.com (dropping the www.) I have tried doing this in apache using a rewrite rule (below) which worked before when the app was written in php. Redirect http://www.soccertackle.com/ http://soccertackle.com RewriteEngine on RewriteCond %{HTTP_HOST}
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
2006 Jun 21
7
Mongrel 0.3.13.1 -- Quick Small Fixes
Hi Everyone, This is a small release that fixes a little bug, some of the documentation, and adds the new RedirectHandler code and a @redirect@ call for the mongrel.conf files. It''s fresh so don''t rely on it. Everyone should upgrade with the usual *gem update* command (which tells you it''s "Upgrading...") and tell me how it works. This release fixes: * The
2006 Aug 12
2
Mongrel 0.3.13.4 headers seem a bit broken...
I''m running a Rails (r4720) app on OS X 10.4.6. Mongrel 0.3.13.3 works perfectly for me. Mongrel 0.3.13.4, not so much. Redirects don''t work, for one thing. This rails code : redirect_to :action => ''login'' correctly redirects me on 0.3.13.3. Here''s the header I get back : HTTP/1.1 302 Moved Temporarily Content-Length: 93 Connection: close
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 Aug 31
1
Apache & SSL - Redirects going to http:// not https://
Hi guys, I have a (hopefully) quick question about ssl and mongrel. We are using Apache2 and the proxy balancer module to control a pack of mongrels. This is a brand new setup, as our server had been using Apache 1.3 with no mongrels at all. The speed boost has been great, and we are not getting any of the previous errors that were caused by FastCGI. I am having a strange problem
2006 Dec 27
0
no log/mongrel.log file on win32, looking for sugge stions...
Hi Luis, answers in CAPS. -----Original Message----- From: Luis Lavena [mailto:luislavena at gmail.com] Sent: Tuesday, December 26, 2006 5:39 PM To: mongrel-users at rubyforge.org Subject: [Mongrel] no log/mongrel.log file on win32, looking for suggestions... Hello Mongrels around the world! Been thinking a way to unify the issue I described in the subject. For those who aren''t
2006 Dec 27
2
no log/mongrel.log file on win32, looking for suggestions...
Hello Mongrels around the world! Been thinking a way to unify the issue I described in the subject. For those who aren''t aware, mongrel (actually, mongrel_rails) only generate the log file if daemonize was used (-d) That means no log file under windows, due his lack of fork/daemonization capabilities. Now, users that need to run mongrel on windows cannot report and fill the empty
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
I am trying to move a Rails application, that uses SSL, from an Apache/FastCGI stack, that works fine, to Apache22 and mongrel working with a single mongrel instance (i.e., not mongrel cluster, yet.) I have a single mongrel instance demonized and working fine on http, on port 3000. Apache/OpenSSL/certs working fine. Here is my test http.conf (deliberately kept as simple as possible):
2006 Mar 03
0
Mongrel 0.3.7.1 -- 1000 Paper Cuts Release
This release of Mongrel is coming at you with lots of very little but important features and fixes. The big highlights are: * Initial beginning of the plugin support that will let people write their own handlers and other things for Mongrel. * Timeout now works again but couldn?t find an alternative to the buggy Timeout class. * SwitchTower friendly signal handling for
2006 Feb 22
0
Mongrel 0.3.6 -- Win32 Service/Rails Real Good
Hello Folks, This release of Mongrel should make the win32 folks go crazy. Thanks to Luis Lavena it supports a full service system for installing any Rails app as a service. This lets you start your rails apps from either the command line or the Service console. Stopping is still a bit problematic but we hope to have that solved in the next release. You win32 folks should probably send Luis
2007 Mar 06
1
My Mongrel on Linux is not stable
Hello all My app runs on Gentoo Linux with 2.6.18-gentoo-r6 and my CPU is 2.6.18-gentoo-r6. The Mongrel version is 1.0. I run mongrel cluster with 20 mongrel. But after I lanuch my app, I found that there will be one rails application error message in five or six request. That means most of the request is normal but there will be 1/10 chance app error. But after I reload the error page, the
2006 Jul 01
0
Fun with Mongrel and cygwin.
On the Mongrel FAQ forum, Josh Wehner was having problems with cygwin (don''t know if he fixed it). http://rubyforge.org/forum/forum.php?thread_id=6978&forum_id=5450 Due that, I manage to install cygwin, ruby and rails on my humble little computer, it compiled worked ok (taste like *nix, so I felt a bit off-road running this). Anyway, tried to pass test for mongrel, and still get 1
2006 Jul 24
1
Mongrel and request.uri
Is there any reason for Mongrel to be stripping request.uri as described in this bug report: http://rubyforge.org/tracker/index.php?func=detail&aid=5103&group_id=1306&atid=5145 I was planning on using mongrel to deploy my app but my login code depends on the full request.uri to redirect back after login. Greetings, Pedro.
2006 Jun 20
1
Performance tweak when local files are not served by mongrel
Hello Zed ! I''ve experimented a simple but limited performance tweak in the mongrel rails loader. With the following apache 2.2 mod proxy loadbalancer setup : # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] We can assume that mongrel is called only when the
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
2007 Oct 13
3
Endless Redirects with Ssl_Requirement
I''m running an application on mongrel with apache 2.2.3. SSL works fine when I enter an https manually. But when I use the plugin, I get an endless redirect. Got the same error when I tried running the following simplified version of SslRequirement from within an action: unless request.ssl? redirect_to "https://#{request.host}/#{request.uri}" end So there must be a
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 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
2006 Jul 09
3
Mongrel and proxying with Apache 2 mod_proxy
Hi all, I''ve just spent some time going through trying to get mongrel & apache 2.0 working with mod_proxy. I thought I''d share what I''ve found in case someone is going through the same exercise. Of late, I''ve been using mongrel (lovely, btw) to run my rails apps. Since I have a couple of different rails apps running on the machine, I thought it be nice to