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 - moving.asp to end (Topic Closed Topic Closed)
Author
Message |
j7hnw
Newbie


Joined: 10 August 2007
Location: United Kingdom
Posts: 10
Posted: 10 August 2007 at 5:57am  

We have linkfereeze running perfectly on our site replacing the ? and = fine -but the .asp appears in the middle of the URL for each page.
 
As the web hosting company are not using the wizard - they have it in the httpd.ini file as
 
[ISAPI_Rewrite]
RewriteRule (.*?\.asp)(\?[^~]*)?~([^~]*)~([^~]*)(.*) $1(?2$2&:\?)$3=$4$5 [NS,I]
 
Please can you advise how to change this to make the .asp move to the end
of the URL and be replaced with .htm
 
Back to Top
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 10 August 2007 at 6:30am  

This is not LinkFreeze but ISAPI_Rewrite rule. Before making any suggestions I need to make sure what product you are actually use.

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


Joined: 10 August 2007
Location: United Kingdom
Posts: 10
Posted: 10 August 2007 at 6:53am  

Thanks Yaroslav

I have just asked the Web Hosting company to verify this for me. Sorry if I misled you - and thanks for your prompt help. I will post again as soon as they tell me the product in use on the server.

Regards

John

Back to Top
 
j7hnw
Newbie


Joined: 10 August 2007
Location: United Kingdom
Posts: 10
Posted: 10 August 2007 at 7:51am  

Yaroslav

The Website Hosting company have just replied

" As the moderator says, the rule is ISAPI_Rewrite. "

Please can you tell me how to change the following to move the .asp to the end and replace it with htm

[ISAPI_Rewrite]
RewriteRule (.*?\.asp)(\?[^~]*)?~([^~]*)~([^~]*)(.*) $1(?2$2&:\?)$3=$4$5 [NS,I]
 
Please can you advise how to change this to make the .asp move to the end of the URL and be replaced with .htm

Many thanks

John

PS - Also may I ask - is there an easy way to prevent files in a certain web folder from having the ISAPI filter applied ?

 

Back to Top
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 13 August 2007 at 6:49am  

I can only suggest modification to change extension to .htm but not move it to teh end.

[ISAPI_Rewrite]

RewriteRule (/(?:exceptfolder1|folder2|folder3).*) $1 [I,L]

RewriteRule (.*)\.htm([?~].*) $1.asp$2 [I]

RewriteRule (.*?\.asp)(\?[^~]*)?~([^~]*)~([^~]*)(.*) $1(?2$2&:\?)$3=$4$5 [NS,I]

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav'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