Displaying 20 results from an estimated 5000 matches similar to: "Multi Web Apps ..."
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 Aug 03
14
[WARNING] don''t use ruby-sendfile
Hi Folks,
I''ve been getting reports of people with serious stability problems in
Mongrel. These problems go away instantly when they remove
ruby-sendfile.
If your mongrel starts up saying that you have "sendfile installed" and
that it is using it then **you are wrong**. Remove the gem and don''t
use it.
I''ll be investigating why it doesn''t really
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:
2009 Jun 12
5
Limit Request Body Size (Disallow very large File-uploads)
Hello all,
For the last couple of days I was trying to get my
Apache/mod_proxy/mongrel setup to limit the size of the request body.
The setup is as follows:
1.) Apache acts as a reverse proxy by facilitating mod_rewrite and mod_proxy
2.) Requests for non-static files are passed on to a mongrel_cluster
3.) We use mongrel for our Ruby on Rails application
Note that due to some restrictions we are
2006 Jan 09
4
scaffold seems broken on show,edit,delete
After running generate scaffold and pointing the browser, the data list
appears correctly, the create new button works okay, but show, edit,
delete give the following error:
"Could not find Organization without an ID"
running on ubuntu breezy with postgresql - data and everything else
appears correct - any ideas?
2006 May 19
12
Mongrel/Apache and static content
I''m looking for an easy way to have mongrel only serve dynamic railscontent, while letting Apache serve non-Rails content. Unfortunately,it seems that you have to segregate the static content in its ownfolder. That was also the case with the SCGI runner. I used thetrick outlined athttp://comments.gmane.org/gmane.comp.lang.ruby.rails/23347 to managethis. I was curious if a similar
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 Mar 16
4
Apache and virtual hosts
Dear Mongrel users,
I would like to use Mongrel to introduce RoR on an existing Apache/PHP server. The server serves
several domains, set up as virtual hosts.
The idea is to install a Rails application to be used in addition to the existing configuration.
Example:
www.domain1.com/index.php -> Via Apache
www.domain1.com/appname/controller/action -> RoR application
I am at a loss how to do
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 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of
mongrel. I also need ssl but only for one of my sites. I understand that
Mongrel does not play with SSL so I am forced to use Lighttpd. I think that
lighttpd only handles ssl or non-ssl on any given instance. Is there a way
for me to accomplish my goal of one lighttpd with multiple mongrels and the
occasional ssl connection?
--
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
2007 Dec 07
1
Ruby on Rails applications with Mongrel cluster
Hello All
I am trying to install 5 mongrel servers against my app. i am using
Vista. I found this article on a website.. but am stuck on one point.
here are some notes from article:
Now enable the needed modules (url rewriting, proxy, proxy_balancer e
proxy_http) by editing the httpd.conf file (under c:
\Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in
its standard path).
2006 Jul 07
8
Going to production soon, need server advice
I''ve got a RoR app that will be going to production soon (in the next
month or so) and would like to get some feedback on what kind of web
server setup people have had good luck with. I''m looking for something
that is:
1. Stable
2. Easy to setup
3. Secure (sorry but Windows is ruled out here)
My deployment will either be on Fedora Core 5 or possible Mac OS X
Server.
2006 Jun 23
7
Voice calls sent to fax extension
I have a situation that has repeated itself a few times. Someone calls
into Asterisk and is connected with a voice extension. At some point
during the call, the log shows "chan_zap.c: DTMF digit: f on Zap/2-1".
At this point, the call is redirected to receive a fax and the Asterisk
voice extension is hung up. The users report that there were no
noticable tones heard just before the
2006 Aug 05
3
Apache 2.2 + Mod Proxy Balancer + Mongrel - Hot Linking Protection?
Hey guys,
Ok, basically I coded a ruby on rails CMS to manage a bunch of media
files. I am finding that a lot of people are "hot linking" to these
media files and would like to prevent this to save bandwidth. Usually
in the past, it hasn''t been a problem, I would add something like the
following to my .htaccess file
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
2006 Feb 15
3
Channel bleedover?
Occassionally on calls we get what sounds like low volume channel
bleedover. Not clear enough to make out words, but not echo of either
side of the main coversation. We're using a Digium card with 11
channels connected to PSTN lines. Any ideas on what the problem is or
how to go about troubleshooting?
Thanks!
Paul
2006 Nov 13
5
apache -> pen -> mongrel cluster
Hi everyone,
Recently, I''ve been reading about different deployment environments for
rails and mongrel. One configuration I''ve started seeing is apache -> pen
-> mongrel cluster. See http://errtheblog.com/post/35 as an example.
Can someone explain to me the benefit of using Apache and Pen as opposed to
either using apache as a load balancer or pen by itself?
2004 Aug 06
2
ahuh error 32
hi,
I realised after sending the last mail that 'error 32' seems to be the
server dropping a client upon a client request to disconnect. So its not
really an 'error'.
Has anyone anyone any experience with Iceast2 and Ogg? I have a stream
encoded from the Oddcast encoder, sending to Icecast2 compiled from the
CVS.
It works fine with encoding and recieving. I had quite a large
2007 Sep 12
19
Mongrel hangs, consumes all CPU on shutdown
Hi,
I''m doing development with Mongrel 1.0.1 on Ruby 1.8.4 / OS X
10.4.10, and I''ve found that often when I shut down my server with
^C, it hangs for a while, gobbling up all CPU. Sometimes it stops
after a few seconds, sometimes it''s run for several minutes at least.
This happens across all the apps I develop on, but it seems to hang
longer after