LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Directing a context at another Virtual Host

Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2007, 11:12 AM
henster henster is offline
Member
 
Join Date: Jun 2006
Posts: 10
Default Directing a context at another Virtual Host

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
Reply With Quote
  #2  
Old 05-18-2007, 11:43 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
Reply With Quote
  #3  
Old 05-18-2007, 11:44 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Make sure php files is configured to be processed as PHP script with script handler either at vhost level or server level.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:15 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.