Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze support forum
 Helicon Tech : LinkFreeze support forum
Subject Topic: transformation scope help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tomchu
Newbie
Newbie


Joined: 11 August 2004
Location: United States
Online Status: Offline
Posts: 7
Posted: 20 August 2007 at 3:21pm | IP Logged Quote tomchu

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 View tomchu's Profile Search for other posts by tomchu
 
tomchu
Newbie
Newbie


Joined: 11 August 2004
Location: United States
Online Status: Offline
Posts: 7
Posted: 20 August 2007 at 7:40pm | IP Logged Quote tomchu

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 View tomchu's Profile Search for other posts by tomchu
 
Sergey
Moderator Group
Moderator Group


Joined: 11 March 2005
Online Status: Offline
Posts: 741
Posted: 21 August 2007 at 4:48am | IP Logged Quote Sergey

Try this

@/[^./]+\.cfm ~~~
Back to Top View Sergey's Profile Search for other posts by Sergey
 
tomchu
Newbie
Newbie


Joined: 11 August 2004
Location: United States
Online Status: Offline
Posts: 7
Posted: 21 August 2007 at 12:15pm | IP Logged Quote tomchu

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 View tomchu's Profile Search for other posts by tomchu
 
Sergey
Moderator Group
Moderator Group


Joined: 11 March 2005
Online Status: Offline
Posts: 741
Posted: 22 August 2007 at 4:09am | IP Logged Quote Sergey

Please, press "Text config" button and replace you rule with this one
Code:
@/[^/]*          ~~~     .cfm     @/?[^/]+     [MoveExt,Redirect]
Back to Top View Sergey's Profile Search for other posts by Sergey
 

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