Displaying 20 results from an estimated 10000 matches similar to: "Mongrel/Apache and static content"
2007 Nov 23
2
Unable to read anything from request.remote_ip
For some users, request.remote_ip always return nil. According to the
RAILS''s help:
REMOTE_ADDR is the standard but will fail if the user is behind a proxy.
HTTP_CLIENT_IP and/or HTTP_X_FORWARDED_FOR are set by proxies so check
for these before falling back to REMOTE_ADDR. HTTP_X_FORWARDED_FOR may
be a comma- delimited list in the case of multiple chained proxies; the
first is the
2006 Jul 31
11
Mongrel and Apache docs?
Any news on the Apache Best Practice Deployment instructions? I''m
getting ready to set up a production server, and would prefer to use
Apache and Mongrel/Cluster. Don''t think I''ll be able to get the
latest Apache though. Do I have to proxy through Pound or something
to handle multiple mongrel instances? Any pointers?
Any help appreciated,
Brett
2008 Jan 12
6
php proxy exists?
Wondering if anyone''s heard of a php script that will ''forward'' your
requests on to, say, a mongrel instance, and return it? Kind of a php
fcgi? Thoughts?
Thanks.
-Roger
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jul 05
7
multiple mongrel clusters
If this was in the docs, I''ve missed it. How can I have multiple
mongrel clusters on a server? All the documentation that I am seeing
seems to assume that I am only running one cluster.
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 Jul 07
10
problem serving pdf files
I''m using the instructions from
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/to
configure mongrel_cluster with apache mod_proxy_balancer. Everything
works fine, except when I try to link to a pdf file to be opened in a new
window, it displays the contents of the pdf as text instead of opening it as
a pdf document through Acrobat.
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
2007 Jan 25
8
Mongrel with mephisto on a Virtual Private Server
Hello everyone,
I am trying to setup Mongrel to work with Apache on a VPS as part of a mephisto installation. Has anyone done this, and if so how did you edit your conf file to make it work?
I used the info found on the mongrel site at:
http://mongrel.rubyforge.org/docs/apache.html<http://mongrel.rubyforge.org/docs/apache.html>
and one time I did get a mephisto splash screen, but it was
2006 Jun 28
5
Production deployment
Gang-
We are getting ready to launch our ROR application; the last item
remaining is the deployment platform. For testing, we had used Apache +
MOD_FastCGI. I am not that impressed with it; sometimes it has strange
effects. For example, when we start the application, for about 5 minutes
or so, the app is very unstable and it gets better over time.
My questions is .. should I go with (1)
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
2006 Sep 26
5
Expert feedback needed
Hello list,
Some time ago I was looking for apache (as non balanced proxy) +
mongrel configurations. Almost everybody seemed to use similar
approaches (one of these could be found @ mongrel.rubygorge.org docs)
with mod_rewrite. I don''t use proxy_balancer because I don''t need it
at the moment (my site has pretty low traffic). This is apache
configuration that I''m using
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it from remote location.
2006 Aug 10
7
Mongrel and SSL?
I have a small intranet app with only 20 or so users.
I''m currently using lighttpd w/ssl for production and mongrel for dev.
I don''t think Mongrel supports ssl, but what is the easiest front-end
to put in front of it? Pound?
Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to
webrick and mongrel. How can I do this same thing using Lighty and
Mongrel?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it
can be configured however is best - initially, "ease of setup" is important,
but then soon after will be scaling and response time). I''ve read a lot of
emails on this topic, and checked out the Mongrel pages, etc, but I''m left
with this question of what is recommended:
For a
2006 Jul 03
1
Apache mod_proxy to mongrel
Hi Guys,
I know this is slightly off topic, but it''d be great to get some
feedback from anyone who''s using mod_proxy on Apache 2.2 to redircet
to a rails app on mongrel.
Everything has been running fine generally but a few days back we
started getting a gap in the performance between the Apache port and
the mongrel port. accessing through port 80 was averaging ten times
longer
2006 Nov 30
4
mongrel served from a subdirectory
Hello,
I have setup mongrel successfully a few times now, but, each time I have
used apaceh 2.2 and mod_proxy setup descibed on the mongrel site.
However, I need to set up another app in a subdomain. example.com/docserver
instead of docserver.example.com.
I have tried just adding I have something like:
ProxyPass /docserver/ http://example.com:3001/
ProxyPassReverse /docserver/
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
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
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