Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Rewrite Condition on group of rules Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
vikaskuamarg
Newbie
Newbie


Joined: 06 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 1
Posted: 06 August 2008 at 5:13am | IP Logged Quote vikaskuamarg

Hi there?

Is there any way here through which we can put one condition on many rule.

now i am doing

RewriteCond Host: www.abc.com

Rewriterule /abc /abc1

RewriteCond Host: www.abc.com

Rewriterule /abc2 /abc3

As i put one example above i have to repeat condion each time, i want to avoid this.

Please help me out.

 

Regards,

vikas

 

 



__________________
Vikas
Back to Top View vikaskuamarg's Profile Search for other posts by vikaskuamarg
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 07 August 2008 at 7:23pm | IP Logged Quote Lexey

No, you will need to prepend a condition to all rules.
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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