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
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirect - help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
cngothic
Newbie
Newbie


Joined: 22 June 2009
Online Status: Offline
Posts: 11
Posted: 28 January 2010 at 9:02am | IP Logged Quote cngothic

RewriteCond Host: (images).21.com
RewriteRule (.*)/110.gif /$1/110.gif

21.com/images/110.gif == images.21com/110.gif

 

RewriteCond Host: (images).21.com
RewriteRule (.*)/(.+?).gif /$1/$2.gif

21.com/images/110.gif != images.21com/110.gif

 

why? help, thanks!

 

 

Back to Top View cngothic's Profile Search for other posts by cngothic Visit cngothic's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 28 January 2010 at 9:21am | IP Logged Quote Anton

It's gonna be like this:

RewriteCond Host: (images)\.21\.com
RewriteRule /(\d+)\.gif /$1/$2.gif [I,L]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
cngothic
Newbie
Newbie


Joined: 22 June 2009
Online Status: Offline
Posts: 11
Posted: 28 January 2010 at 11:18am | IP Logged Quote cngothic

 thanks
Back to Top View cngothic's Profile Search for other posts by cngothic Visit cngothic's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
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