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 rule. Need help! Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Jambo
Newbie
Newbie


Joined: 15 May 2008
Location: Netherlands
Online Status: Offline
Posts: 1
Posted: 15 May 2008 at 9:01am | IP Logged Quote Jambo

How can i rewrite

http://www.mysite.com/language/uk/page/12.html to

http://www.mysite.com/default.asp?language=uk&page=12

???

'uk' and '12' are variable parameters. It could be anything.

Back to Top View Jambo's Profile Search for other posts by Jambo
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6451
Posted: 16 May 2008 at 6:41am | IP Logged Quote Yaroslav

But language and page are static parts?

RewriteRule /language/([^/]+)/page/(\d+)\.html /default.asp\?language=$1&page=$2 [I,L]

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav'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