Can PHP files work alongside a Rails app?

Assuming I have the following setup installed on my server..

Apache (with PHP)
mod_proxy
Mongrel

And Apache is set to handle static files (ie those put into /public)...

Would it work if I put .php files inside public? I.E:
domain.com/blah.php would render fine, but domain.com/ would still be
the Rails app?

Thanks -
Rob

Assuming I have the following setup installed on my server..

Apache (with PHP)
mod_proxy
Mongrel

And Apache is set to handle static files (ie those put into /public)...

Would it work if I put .php files inside public? I.E:
domain.com/blah.php would render fine, but domain.com/ would still be
the Rails app?

Yes, search this or the mongrel users list for details. We do exactly this. You can (and should) also check for "domain.com/directory" which contains an index.php you want parsed.

If you can't find it, search the mongrel list for my name... I know I've posted a config awhile back.