That's usually done by setting up mod_proxy in Apache to reverse proxy 
from Apache to mongrel. I believe that is the typical mongrel production 
scenario?

Here's one page I found on the mongrel wiki (it warns it may be 
outdated, but I think it's still good) leading you through how to do that.

http://mongrel.rubyforge.org/wiki/Apache

Note that once you've turned on mod_proxy in apache, it's very important 
to include the line "ProxyRequests off" in your apache config. We're 
using mod_proxy as a reverse proxy, but by default it'll be an unsecured 
forward proxy too, which is something you definitely don't want.  
"ProxyRequests off" turns this off.

Hope this helps. Some other mongrel experts correct me if I'm wrong, 
I've been puzzling through this stuff myself.

Jonathan


James Testa wrote:
> My production server is using mongrel_rails on Ubuntu linux.
> With Firefox I can reach my production server with the URL:
>
> www.mydomain.com:3000/
>
> but I can't reach my production server with the URL
>
> www.mydomain.com/
>
> Is there a way to configure mongrel so that I can reach my
> production server with the URL www.mydomain.com?
>   

-- 
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886 
rochkind (at) jhu.edu

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to