On Mon, Sep 28, 2009 at 6:13 PM, Greg Lazarev
<[email protected]> wrote:
> 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'd set each app up on it's own subdomain.  But if you can't you can
use mod_rewrite to sort out where requests should go.

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html


-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to