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: asp dynamic URLredirect wont work Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
firebyteonline
Newbie
Newbie


Joined: 01 July 2009
Online Status: Offline
Posts: 7
Posted: 22 May 2011 at 1:46pm | IP Logged Quote firebyteonline

Hi

I hope someone can help me

I am using:

RewriteRule ^[^-/]*~(\d+)\.htm$ /news.asp?ID=$1
[QSA,NC,L]

on the following:

/oak_furniture_popularity~1986.htm

to redirect to the below with the URL showing
news.asp?ID=1986

The server has 2.8 installed I think my syntax maybe for
ver 3.1?

Can you help?
Back to Top View firebyteonline's Profile Search for other posts by firebyteonline
 
Yaroslav
Admin Group
Admin Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6521
Posted: 23 May 2011 at 4:56am | IP Logged Quote Yaroslav

Yes, your syntax is for 3.x. Please try this rule instead:

RewriteRule /[^-/]*~(\d+)\.htm /news.asp?ID=$1 [I,L]

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
firebyteonline
Newbie
Newbie


Joined: 01 July 2009
Online Status: Offline
Posts: 7
Posted: 23 May 2011 at 5:43am | IP Logged Quote firebyteonline

Thanks all working!
Back to Top View firebyteonline's Profile Search for other posts by firebyteonline
 

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