Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: help with a rule Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lordsnake
Newbie
Newbie


Joined: 27 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 27 August 2008 at 8:17am | IP Logged Quote lordsnake

This is what we are trying to achieve or something along these lines, can anyone help.

1. original url: http://www.mydomain.com/rrps/rerlgitem.cfm?rerlstid=44836

3. our preference http://www.mydomain.com/rrps/holiday_property/anytext-44836.html

holiday_property identifies rerlgitem.cfm. The "-" indicates an rerlstid is next and the bit before can be anything.


Back to Top View lordsnake's Profile Search for other posts by lordsnake
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 673
Posted: 27 August 2008 at 8:28am | IP Logged Quote Vyacheslav

Hi.
Please try these rules:
Code:
RewriteBase /
RewriteRule ^rrps/holiday_property/.+-(\d+).html$ rrps/rerlgitem.cfm?rerlstid=$1 [NC,L]


__________________
Kind regards!
Vyacheslav Shinkarenko, HeliconTech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
lordsnake
Newbie
Newbie


Joined: 27 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 27 August 2008 at 8:30am | IP Logged Quote lordsnake

nevermind, solved it :-)
Back to Top View lordsnake's Profile Search for other posts by lordsnake
 

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 can vote in polls in this forum