5

For 1 domain, how can I use both WordPress and Rails?

view full story
linux-howto

http://serverfault.com – I have Rails installed for example.com, however, I want to use WordPress for my blog as well. So I want example.com/blog to be WordPress. The problem is, I want to have WordPress in a separate directory from the Rails, such as /srv/www/example-wp and have Rails in /srv/www/example-ruby. How can I separate this? I think it has something to do with virtual hosts, but I am unsure how this is supposed to work. Update: <VirtualHost ip:80> ServerAdmin [email protected] ServerName example.com ServerAlias www.example.com DocumentRoot /srv/www/example-ruby/public/ Alias / (HowTos)