View Single Post
  #7 (permalink)  
Old 12-05-09, 10:38 AM
rgf rgf is offline
Junior Member
 
Join Date: May 2009
Posts: 1
Default

Hey all,

I have a similar issue, thought I'd post it here just in case. I'm trying to do a rewrite so that a request for any sub folders in the domain www.xxxxx.com/title display the content of domain www.yyyyyyy.com/title (which is located on different server). First address is on a blacknight server. I've managed rewrites before using the code below, but I don't think it's applicable. apologies, htaccess and I don't really get along...

oh - and most importantly, I need the URK to remain as www.xxxxx.com/title - so it's not just a redirect...

Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} xxxxx.com
RewriteCond %{REQUEST_URI} !titles/
RewriteRule ^(.*)$ titles/$1 [L]

(this rule transferred a domain request to a folder within the same server)

any help much appreciated!

Last edited by rgf; 12-05-09 at 10:49 AM.
Reply With Quote