Directing a context at another Virtual Host

#1
Hi there,

We have a rails app running at '/'.

We are starting a blog (wordpress) on the site that uses php and we need to reside at '/blog'.

I've set up a new virtual host for the blog. What is the correct way of diverting traffic from '/blog' to the correct virtual host?

Thanks
Henry
 

mistwang

LiteSpeed Staff
#2
You don't have to creat a new vhost for the blog, just create a static context to the rails vhost with URI "/blog/", pointing to the location of your wordpress directory. It should work.
 
Top