This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze
 Helicon Tech : LinkFreeze
Subject Topic: Exclude Directory Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
JonnyX
Newbie
Newbie


Joined: 22 August 2007
Online Status: Offline
Posts: 26
Posted: 11 April 2011 at 4:54pm | IP Logged Quote JonnyX

Hi,

I have an old version of linkfreeze and would like to exclude a directory /admin/ from linkfreeze can you please provide the rule in my config file below

#################################################
# LinkFreeze Configuration file
# Version 2, 2, 0, 75


LogRewrite=False
NotifyOrder=MEDIUM


/        ~~~    .asp        [MoveExt,AbsLinks]

P.S. I did try following some examples from the site, with no sucess
Back to Top View JonnyX's Profile Search for other posts by JonnyX
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 12 April 2011 at 2:42am | IP Logged Quote Anton

This must work:

@/(?!admin).*     ~~~    .asp        [MoveExt,AbsLinks]

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


Joined: 22 August 2007
Online Status: Offline
Posts: 26
Posted: 12 April 2011 at 4:10am | IP Logged Quote JonnyX

That worked a treat what about if i wanted to exclude multiple directories or even files.

ecommerce/admin
ecommerce/scripts

prodlist.asp
Back to Top View JonnyX's Profile Search for other posts by JonnyX
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 12 April 2011 at 4:37am | IP Logged Quote Anton

Just enlist them like this:

@/(?!admin|scripts|file\.asp).*     ~~~    .asp        [MoveExt,AbsLinks]

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


Joined: 22 August 2007
Online Status: Offline
Posts: 26
Posted: 12 April 2011 at 5:12am | IP Logged Quote JonnyX

would it not be

@/(?!ecommerce/admin|ecommerce/scripts|prodlist\.asp).*     ~~~    .asp        [MoveExt,AbsLinks]
Back to Top View JonnyX's Profile Search for other posts by JonnyX
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 12 April 2011 at 5:33am | IP Logged Quote Anton

Right you are. I didn't notice they are subfolders.

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


Joined: 22 August 2007
Online Status: Offline
Posts: 26
Posted: 13 April 2011 at 3:28am | IP Logged Quote JonnyX

Thank you for your help, excellent customer service.

That also worked a treat, is it possible to convert:

http://www.perfectlyengraved.co.uk/ecommerce/Scripts/prodList2.asp?idCategory=406~Engraved~Christmas~Collection

to

http://www.perfectlyengraved.co.uk/Engraved-Christmas-Collection-c-406

Best Regards

John Wright
Back to Top View JonnyX's Profile Search for other posts by JonnyX
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 14 April 2011 at 2:10am | IP Logged Quote Anton

"is it possible to convert:
http://www.perfectlyengraved.co.uk/ecommerce/Scripts/prodList2.asp?idCategory=406~Engraved~Christmas~Collection
to
http://www.perfectlyengraved.co.uk/Engraved-Christmas-Collection-c-406"
- well, it is possible but not with LinkFreeze. ISAPI_Rewrite3 or Helicon Ape are capable of doing such transformations.

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


Joined: 22 August 2007
Online Status: Offline
Posts: 26
Posted: 14 April 2011 at 12:05pm | IP Logged Quote JonnyX

Can link freeze be installed as well as ISAPI_Rewrite3 or Helicon Ape on windows 2003 web server

If i bought it could you write the rules for me and guide me to get it to work
Back to Top View JonnyX's Profile Search for other posts by JonnyX
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 15 April 2011 at 2:39am | IP Logged Quote Anton

If you are on 2003 server, you'd better install ISAPI_Rewrite 3.
And, yes, you can have both ISAPI_Rewrite3 and LinkFreeze working together without any problems.
BTW, it's not necessary to buy the license for ISAPI_Rewrite right away, there's 45-day trial period.
After you install ISAPI_Rewrite, put the following lines into the .htaccess in the root of your site:

RewriteBase /
RewriteCond %{QUERY_STRING} ^idCategory=(\d+)~(.+)$
RewriteRule ^ecommerce/Scripts/prodList2\.asp$ %2-c-%1? [NC,R=301,L]

RewriteRule ^(.+)-c-(\d+)$ ecommerce/Scripts/prodList2.asp\?idCategory=$2~$1 [NC,L]

Then test the request you wanted to convert. And report the results.

__________________
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