Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze support forum
 Helicon Tech : LinkFreeze support forum
Subject Topic: to map a single file Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
redbaron76
Newbie
Newbie


Joined: 04 May 2008
Online Status: Offline
Posts: 6
Posted: 04 May 2008 at 6:49pm | IP Logged Quote redbaron76

Hello, is it possible to map just a single file?

For example....
I have:

/news.asp?id=10&title=Hello_World

and I would like to map just this file changing it to:

/news_id_10_title_Hello_World.htm

Which pattern have I to set?
tnx

Back to Top View redbaron76's Profile Search for other posts by redbaron76
 
Sergey
Moderator Group
Moderator Group


Joined: 11 March 2005
Online Status: Offline
Posts: 712
Posted: 05 May 2008 at 8:24am | IP Logged Quote Sergey

Please, try this rule:

/ ___ .asp /news.asp.*     [MoveExt]
Back to Top View Sergey's Profile Search for other posts by Sergey
 
redbaron76
Newbie
Newbie


Joined: 04 May 2008
Online Status: Offline
Posts: 6
Posted: 05 May 2008 at 8:37am | IP Logged Quote redbaron76

Thanks but...

It doesn't work

Back to Top View redbaron76's Profile Search for other posts by redbaron76
 
redbaron76
Newbie
Newbie


Joined: 04 May 2008
Online Status: Offline
Posts: 6
Posted: 05 May 2008 at 8:38am | IP Logged Quote redbaron76

This is my rule in the .ini file:

/news.asp.*  ___ .asp  [MoveExt,AbsLinks]

...and it doesn't work

Back to Top View redbaron76's Profile Search for other posts by redbaron76
 
Sergey
Moderator Group
Moderator Group


Joined: 11 March 2005
Online Status: Offline
Posts: 712
Posted: 05 May 2008 at 9:42am | IP Logged Quote Sergey

"Hello_World" parameter contains a separating character "_". You should replace '_' with another character, for example '-'

The rule that will process requests only to news.asp looks like:
@/news.*\.htm --- .asp [MoveExt]
Back to Top View Sergey's Profile Search for other posts by Sergey
 
redbaron76
Newbie
Newbie


Joined: 04 May 2008
Online Status: Offline
Posts: 6
Posted: 05 May 2008 at 1:02pm | IP Logged Quote redbaron76

Nothing to do...

It doesn't work

Is there possible to map rules just on a single file?
It seems not...

Back to Top View redbaron76's Profile Search for other posts by redbaron76
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 3556
Posted: 06 May 2008 at 4:08am | IP Logged Quote Anton

Can you please provide examples for "map rules just on a single file". As it is not quite clear what do you want to be done.

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


Joined: 04 May 2008
Online Status: Offline
Posts: 6
Posted: 06 May 2008 at 8:29am | IP Logged Quote redbaron76

I would like to apply a rule just to one file.
Is it possibile?

For ex:

http://www.summerlabfestival.com/news.asp
to
http://www.summerlabfestival.com/news.htm

and to leave all other files .asp

Tnx

Back to Top View redbaron76's Profile Search for other posts by redbaron76
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 3556
Posted: 06 May 2008 at 9:58am | IP Logged Quote Anton

Please use the following rule:

@/news.*\.htm ---.asp @.*news\.asp.* [MoveExt,AbsLinks]

And correct your links <a href="?do=zoom&id=4" to this format <a href="news.asp?do=zoom&id=4"

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


Joined: 04 May 2008
Online Status: Offline
Posts: 6
Posted: 06 May 2008 at 3:32pm | IP Logged Quote redbaron76

Nothing to do...
It doesn't seem to work...

What to write in the Directory pattern?

What in the Advanced settings?

tnx

Back to Top View redbaron76's Profile Search for other posts by redbaron76
 

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