PHP app on the same server as Rails app

Greg Lazarev wrote:

Hi,

I am trying to figure out how to best serve a PHP app on the same server as my Rails app. Basically, the PHP app is a 3rd party blog that I want to be able to access on the same server. The server is powered by mongrel cluster and apache. I tried putting the blog in /public but then /blog/login does not work, while /blog/login.php does. Anyway what is the best way to solve this?    I personally just use a different sub-domain.

Cheers, Mohit. 9/29/2009 | 9:02 AM.