[Rails] Re: Apache Setup, static site = site.com, rails = site.com/r

Philip Hallstrom rails at philip.pjkh.com
Wed Jul 26 03:53:46 GMT 2006


> 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


More information about the Rails mailing list