This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirect to another domain
Author
Message |
ballmatic
Newbie


Joined: 30 January 2007
Posts: 20
Posted: 05 January 2011 at 11:28pm

Trying to make this work:

RewriteRule /includes/redirect.asp([^/]+) http\://assets.otherdomain.com/redirect.asp$1 [I,L]


We are trying to put images and other files on another server. So we need to be able to redirect to the other site.

http://domain.com/images/whatever.jpg => http://assets.domain.com/images/whatever.jpg

Possible?

Back to Top
 
ballmatic
Newbie


Joined: 30 January 2007
Posts: 20
Posted: 05 January 2011 at 11:46pm

Fixed. I had to switch the ending to:

RewriteRule /includes/redirect.asp([^/]+) http\://assets.otherdomain.com/redirect.asp$1 [RP,I]
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum