This is easy to do with Apache:
- Set up an alias for the URL you want wordpress to have.
- Create a proxy pass exception for that path.
- Proxy everything else to Rails.
That will look like this. Taken from my Apache config:
Alias /blog /home/other_content/blog
<Directory /home/other_content/blog>
AllowOverride All
</Directory>
ProxyPass /blog !
ProxyPass / balancer://mycluster/
ProxyPassReverse / balancer://mycluster/
BTW, I’ve uploaded a new WordPress plugin to do single sign-on with Rails. Search for ‘rails’ in the plugin directory.