H henster Member May 18, 2007 #1 May 18, 2007 #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
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
M mistwang LiteSpeed Staff May 18, 2007 #2 May 18, 2007 #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.
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.
M mistwang LiteSpeed Staff May 18, 2007 #3 May 18, 2007 #3 Make sure php files is configured to be processed as PHP script with script handler either at vhost level or server level.
Make sure php files is configured to be processed as PHP script with script handler either at vhost level or server level.