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: asp dynamic URLredirect wont work
Author
Message |
firebyteonline
Newbie


Joined: 01 July 2009
Posts: 7
Posted: 22 May 2011 at 1:46pm

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
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 23 May 2011 at 4:56am

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 Visit Yaroslav's Homepage
 
firebyteonline
Newbie


Joined: 01 July 2009
Posts: 7
Posted: 23 May 2011 at 5:43am

Thanks all working!
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