This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze (Forum Locked Forum Locked)
 Helicon Tech : LinkFreeze
Subject Topic: Linkfreeze first, then ISAPI_Rewrite (Topic Closed Topic Closed)
Author
Message |
goodeye
Newbie


Joined: 14 December 2005
Location: United States
Posts: 12
Posted: 04 April 2007 at 6:01pm  

Hi,
I posted this question a long time ago, and the answer was to upgrade to LinkFreeze 2.0. Well, I've done it, and I still can't get this to work.

I have both LinkFreeze 2.2.0.66 and ISAPI_Rewrite 2.9 installed (client originally used LinkFreeze, and now we want to do rewriting, so we still need both for now, so LinkFreeze will generate the tilde urls for some pages).

I would like LinkFreeze to go "first", before ISAPI_Rewrite rules are applied, to save me from having to do double rules everywhere, or decoding tildes in ISAPI_Rewrite manually.

I've tried changing the NotifyOrder to HIGH, with no help (ISAPI_Rewrite doesn't seem to have a priority setting anywhere).

e.g., I want to rewrite
/products/cars.aspx?a=25
and also the equivalent /products/cars~a~25.aspx
into
/nav/cars?a=25

(this is to do a permanent redirect to our new url format... which is then rewritten to the actual new page)

Here is the rule:
RewriteRule /products/cars\.aspx(\?.*)? /nav/cars$1 [I,RP]

Here is the config file:
#################################################
# LinkFreeze Configuration file
# Version 2, 2, 0, 66


LogRewrite=False
NotifyOrder=HIGH


/          ~~~          [MoveExt]


These urls work:
/products/cars.aspx
/products/cars.aspx?a=25

This url does not:
/products/cars~a~25.aspx


Please let me know what I can try, or if my rule is wrong. It just seems LinkFreeze should be able to do the tilde decoding first, so I don't have to.

It looks like ISAPI_Rewrite build 67 wouldn't have changed anything for this issue.

Thanks very much,
Bob
Back to Top Visit goodeye's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 05 April 2007 at 8:11am  

Unfortunately it is not possible to make LinkFreeze 2.x to run before ISAPI_Rewrite 2.x because now they run on a different request processing stages and LinkFreeze will always go after ISAPI_Rewrite whatever priority you set up.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
goodeye
Newbie


Joined: 14 December 2005
Location: United States
Posts: 12
Posted: 05 April 2007 at 9:58am  

OK, I'll look in the isapi forum for the rules that undo the tildes. It doesn't make sense to me logically, technical reasons aside.

I wish I got this answer back in January when I first asked, instead of the canned "please upgrade".

Thanks for a good product in general,
Bob
Back to Top Visit goodeye's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 06 April 2007 at 4:00am  

I suggest you to deskribe what you need in ISAPI_Rewrite forum in details. Possibly I will be able to write a rule without tildas removal for ISAPI_Rewrite.
Or better ask your question right here, so I don't lose a thread.

Edited by Yaroslav - 06 April 2007 at 4:01am


__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
goodeye
Newbie


Joined: 14 December 2005
Location: United States
Posts: 12
Posted: 06 April 2007 at 12:15pm  

Hi Yaroslav,

Thank you, but the looping rule example in your documentation is fine. That's what I'll put at the beginning of the rules, then fall through to my 'normal' rules.

Bob
Back to Top Visit goodeye's Homepage
 

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