similar to: Mongrel and proxying with Apache 2 mod_proxy

Displaying 20 results from an estimated 6000 matches similar to: "Mongrel and proxying with Apache 2 mod_proxy"

2006 Dec 15
1
Help w/ Apache Proxying Mongrel
I''m running Apache 2.0 as a proxy to several Mongrel/Rails apps, so that all of my Mongrel apps can be routed through the single Apache IP address. Apache 2.0 is already in use on the system, which is why I haven''t decided to use Apache 2.2. The problem I''m having is that this setup only works for Rails apps that do not use the public/index.html file as the main
2006 Jul 26
5
Mongrel + mod_proxy URL issues
We have a Centos server with a number of virtual hosts, and my rails app runs under one of those virtual hosts using mongrel_rails. The app lives in /home/mydomain/railsapp where /home/mydomain/railsapp/public is the rails root. It runs under mongrel on port 8008, so to get to it users invoke the url http://www.mydomain.com:8008/ - all is fine to this point. Now I have some users whose
2006 Jul 13
3
mongrel, apache, mod_proxy, etc...
after days and days of fighting back and forth with an apache/fastcgi environment, i found mongrel and was up and running smoothly in about 10 minutes. i''m having a hard time with something though. if i set up ProxyPass and ProxyPassRevers to the root of the site, everything works fine. however once i try to just use separate directories for all of my apps, none of the attachments
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/
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.
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):
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 Apr 06
1
Apache - mod_proxy
This is really an apache question but if anyone knows offhand it would be nice to know... How do i build a standalone mod_proxy.so module that i can use to load into an apache install that has loadable module support compiled in? thanks
2007 Aug 26
5
Issues with mod_proxy/mod_proxy_balancer and my ded. server host
Hello list, I wonder if someone could help me understand the following: I''ve got a managed dedicated server with GoDaddy. Until now, I''ve only hosted PHP applications there. I now need to set it up to host my new beloved Rails application. I asked them to set up apache with mod_proxy_balancer for the mongrel cluster, however, here''s what they told me: *Unfortunately,
2008 May 02
3
CruiseControlRb behind apache
I managed to find this in the archives, so far: http://www.nabble.com/Setting-up-CCRB-behind-apache-proxy-tt14016053.html#a14099749 Found a better alternative to doing this in my .htaccess instead of messing with the httpd.conf, in case someone is interested: --- snip --- RewriteEngine On ### for cruisecontrol RewriteBase / RewriteRule ^(.*)$ http://localhost:3333/$1 [P] AuthType Basic
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 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
2006 Jul 24
3
Confused on URLs to my Rails App
I need a VERY SIMPLE solution to get to my rails app. We have a WHM/Cpanel linux server with numerous virtual servers on it. I have an existing website called www.mydomain.com that lives in /home/mydomain/public_html. I have written a rails app called "test" that is in /home/mydomain/test, and it''s rails "root" is therefore /home/mydomain/test/public. I am an
2007 Nov 23
3
Mongrel+Apache 2.2 Proxy
Hi, I''m running a rails (mongrel) based web service behind an apache proxy, on windows 2003. Sometimes I see a POST in the apache log that returned a 404 but nothing about it in the rails log. It doesn''t happen every time, 9 out of 10 times it works just fine. The post (is actually a put) comes from a .NET application uploading a small xml-file. The log message in apache
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 Sep 21
2
proxying and mongrel 0.3.13.4
I have been running a proxied mongrel-hosted app behind apache 2.0 (don''t need clustering) for several months, and loving it. In that instance, I am proxying the root of the virtual host to mongrel. I am now in a situation where I need to proxy a directory name to mongrel for a new application, and not having any success. I saw Zed''s mention of the --prefix option in 0.3.13.4,
2006 May 08
10
Apache 2.2, ProxyPass and HTTPS
Hi all, I''m currently trying to get Mongrel running my app whilst fronted by apache 2.2 in a sub-directory via https. A bit convoluted I''ll grant you but necessitated by existing systems. The pertinent parts of my httpd.conf: <VirtualHost 123.123.123.123:12345> #historic choice of random port number DocumentRoot /var/www/admin ServerName admin.example.com:12345
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
2005 May 06
7
Rails hosting per user
I''m trying to set up shared rails websites, so every user has its own public_html for rails scripts. I''m not really satisfied with the fastcgi approach (cgi scripts can sometimes be nasty security problems) so I''d like to try the another approach. (If someone knows a good tutorial on installing rails on FreeBSD including the fastcgi configuration that would be nice).