Adam
2006-Jul-26 01:53 UTC
[Rails] Apache Setup, static site = site.com, rails = site.com/rails
I have a static site at: http://www.site.com and I want Aails site to live at: http://www.site.com/cms (so that I can have the two sites communicate via AJAX without security issues) Is this possible using Apache? Maybe somebody point in the right direction. I''m pretty good with httpd.conf, but haven''t figured out the right directives to get this going. Thanks A -- Posted via http://www.ruby-forum.com/.
Adam
2006-Jul-26 02:00 UTC
[Rails] Re: Apache Setup, static site = site.com, rails = site.com/r
Adam wrote:> I have a static site at: > > http://www.site.com > > and I want Aails site to live at: > > http://www.site.com/cms > > (so that I can have the two sites communicate via AJAX without security > issues) > > Is this possible using Apache? Maybe somebody point in the right > direction. I''m pretty good with httpd.conf, but haven''t figured out the > right directives to get this going. > > Thanks > Athat was susposed to be ''...and I want my Rails site to live at:'' -- Posted via http://www.ruby-forum.com/.
Philip Hallstrom
2006-Jul-26 03:48 UTC
[Rails] Re: Apache Setup, static site = site.com, rails = site.com/r
> Adam wrote: >> I have a static site at: >> >> http://www.site.com >> >> and I want Aails site to live at: >> >> http://www.site.com/cms >> >> (so that I can have the two sites communicate via AJAX without security >> issues) >> >> Is this possible using Apache? Maybe somebody point in the right >> direction. I''m pretty good with httpd.conf, but haven''t figured out the >> right directives to get this going. >> >> Thanks >> A > > that was susposed to be ''...and I want my Rails site to live at:''I believe you can do this with apache 2.2.2, mod_proxy_balance and the latest beta of mongrel. I seem to recall reading it could support rails apps that lived in a "sub directory". Search the mongrel lists for more... version 0.3.13.4 I think it will be... -philip