Displaying 20 results from an estimated 5000 matches similar to: "Confused on URLs to my Rails App"
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 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 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 Jul 04
1
mysql_adapter.rb help please
I am an experienced systems programmer (20+ years) trying to get RoR
working on a Centos server with WHM, Cpanel, etc. Everything seems OK
and I am able to run the hello world apps however I am having major
problems when I enable some database access ala the cookbook tutorials.
Whether I run mongrel or webrick I am getting seg faults and/or traps in
mysql_adapter.rb when I submit a form of
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 Nov 08
2
Apache 2.2.3 setup woes
Good morning everyone,
I am running apache 2.2.3 compiled from source and proxy load balancer as
described on the mongrel site.
I have a total of three sites, this setup works really well for two of them
but for one of them, I keep getting "Forbidden" errors and this error in the
apache logs:
[warn] proxy: No protocol handler was valid for the URL /. If you are using
a DSO version of
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
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 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 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very
annoying behaviour.
I am able to view the site just fine when using the ip.
The name is properly resolved on my computer, however I am getting
"Bad Gateway The proxy server received an invalid response from an upstream
server."
This is simply random. The site works for several minutes, then i get this
message for some
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 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
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
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
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 Sep 07
21
Multiple rails apps with Mongrel
I''m trying to set up several different Rails apps on the same domain, each
one running Mongrel. After reading all of the documentation, it''s fairly
clear how to use subdomains - create several Apache virtual hosts, each of
which has a different ProxyPass and ProxyPassReverse command to redirect
from different ports (ie, 3000, 3100), and then have each Mongrel instance
(or
2006 Jul 10
10
IE vs Firefox -- http:// matters?
I just noticed something interesting (or not) about getting to my RoR
app on the 2 browsers. I''ve tested it running Webrick or Mongrel_rails
and get the same behavior.
The app is at http://www.mydomain.com:myport#/app/list
Specifying that complete URL works fine in both browsers. However in IE
if you just specify www.mydomain.com:myport#/app/list I get page not
found. In FF the URL
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
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.
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