Can Rails (w/Passenger) co-exist w/ other apps?

I have a rails app running at my site root(’/’), using passenger.

I would like to run a php app (wordpress) at another location, say /wp

So far, my attempts to make this work with mod_rewrite in .htaccess have not born fruit. Is this possible to do?

Here’s what I have currently:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp/.*
RewriteRule .* - [L]