Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We have an install of WordPress Network (Multisite) that has multiple blogs running under the url blogs.exampleurl.com where each subsite is blogs.exampleurl.com/site1 /site2 etc...

We have a user that already has a URL (www.exampleurl.com/usersite/) and would like to keep his URL but also use our install of WordPress. Can this be done with an f5? If so, what would need to be done?

share|improve this question
    
Can you be a tiny bit more specific about the rules you need? –  djangofan Aug 4 '11 at 18:05

2 Answers 2

If the user is an internal one behind the same F5 Big-IP, then the direct answer to your question is yes. You can use an HTTP Class to match the URI in question and direct the back-end request the pool associated with your wordpress site. Your web server would need to be configured to accept this host alias and possibly rewrite the URL to process it properly.

If the user is a third-party user, you'd need to look into a frame or iframe. A less desirable alternative that would completely mask the fact that you're hosting this blog for them would be to have the user implement a reverse proxy. This would slow the site dramatically as well as decrease reliability in general.

share|improve this answer

This could be done with an iRule. In fact, the ProxyPass iRule (http://devcentral.f5.com/wiki/iRules.ProxyPassV10.ashx) would likely be the least effort approach.

If you wanted to go a little more spartan, it would be a matter of rewriting the host and uri information passed back to the wordpress servers for the HTTP Request, and undoing the modification in the HTTP Response. Unless you just want to write you own iRule, the ProxyPass one would suffice.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.