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: transformation scope help (Topic Closed Topic Closed)
Author
Message |
tomchu
Newbie


Joined: 11 August 2004
Location: United States
Posts: 7
Posted: 20 August 2007 at 3:21pm  

I only need to linkFreeze transform on 1 file under "/" directory.
Eg. /index20.cfm (http:/www.1234.com/index20.cfm and/or http:/www.1234.com/index20.cfm?mainPage=3&catID=1155)

Can someone help me with the @regex (transformation scope)?

Thanks
Tom
--------
Back to Top
 
tomchu
Newbie


Joined: 11 August 2004
Location: United States
Posts: 7
Posted: 20 August 2007 at 7:40pm  

I have try
------------------
@/index20.cfm(\?\S*)??
--------------------
but did not work!

Also can I apply linkFreeze transform all cfm files in the top directory only (http:/www.1234.com/, http:/www.1234.com/index.cfm, http:/www.1234.com/index20.cfm ...etc)? Not touching any directory below it?
Do I have to list all the directory name in the transformation scope?
Back to Top
 
Sergey
Admin Group


Joined: 11 March 2005
Posts: 750
Posted: 21 August 2007 at 4:48am  

Try this

@/[^./]+\.cfm ~~~
Back to Top
 
tomchu
Newbie


Joined: 11 August 2004
Location: United States
Posts: 7
Posted: 21 August 2007 at 12:15pm  

Did not work!
I try "@/[^./]+\.cfm ~~~" and "@/[^./]+\.cfm"
The second one did "Freeze" the links (a href="index20.cfm?mainPage=3&catID=1155") but when I click it
Coldfusion give me - File not found: /index20/mainPage~3~catID~1155.cfm

Also it will not "Freeze" the links in the page using http:/www.1234.com/ to access it (I set it "index20.cfm" as a default content page).

I try with the "/" and it work with out any problem. But I don�t want LinkFreeze to touch any directory below it.

Please help.
Back to Top
 
Sergey
Admin Group


Joined: 11 March 2005
Posts: 750
Posted: 22 August 2007 at 4:09am  

Please, press "Text config" button and replace you rule with this one
Code:
@/[^/]*          ~~~     .cfm     @/?[^/]+     [MoveExt,Redirect]
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