Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: RewriteMap equivalent for rewrite 2 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
shawnaraxi
Newbie
Newbie


Joined: 26 January 2010
Online Status: Offline
Posts: 22
Posted: 28 January 2010 at 1:55pm | IP Logged Quote shawnaraxi

After developing a little locally with RewriteMap I just realised my host only has rewrite version2. hence the headaches trying to get RewriteMap to work :-(

How would you suggest diong something similar in version 2.

I have a text file with the same setup as in the example
key1 value1
key2 value2
keyN valueN

how could I put this list in the httpd.ini and pass it through something like this

RewriteRule ^/(.*)\.html$ /index.cfm?action=${requestpages:$1|home}

 

Back to Top View shawnaraxi's Profile Search for other posts by shawnaraxi
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 29 January 2010 at 2:08am | IP Logged Quote Anton

Unfortunately there's no equivalent to mapfiles in v2...
That's a great benefit of v3.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

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