Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite internal folder to external subdomain

         

sportspaul

9:54 pm on Aug 13, 2010 (gmt 0)

10+ Year Member



Hello All -

We have our main website on a server running oracle, and we can't install MySQL on it for various reasons. In order to run a Wordpress blog and a wiki, both using MySQL, we've set up a second server (which is on a different IP), and we've set up subdomains for blog.oursite.com and wiki.oursite.com. We would like the addresses for those sites to appear as oursite.com/blog and oursite.com/wiki.

We also don't have mod_proxy compiled into apache on the main server.

Is there any way to use mod_rewrite to set that up without using mod_proxy?

Thanks in advance!

- Paul

jdMorgan

2:35 am on Aug 14, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, not with your requirement that you "would like the addresses for those sites to appear as oursite.com/blog and oursite.com/wiki." That requires a reverse proxy.

Without mod_proxy, you're down to redirecting the client, and that causes the browser to update its address bar. :(

Jim