This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: mod_linkfreeze, mod_seo does not work Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
chaos
Newbie
Newbie


Joined: 08 May 2011
Location: Russian Federation
Online Status: Offline
Posts: 5
Posted: 08 May 2011 at 1:46am | IP Logged Quote chaos

Hello!
It seems that mod_linkfreeze & mod_seo does not work on
previosly rewrited page.

1. We apply mod_linkfreeze and mod_seo - all is ok.
All links on page rewrited.
2. Follow a link, previously rewrited by mod_seo.
3. mod_seo and mod_linkfreeze does not work. All links in
original format.

.htaccess:
RewriteEngine on
RewriteBase /
RewriteMap mapfile txt:map.txt [NC]
RewriteMap revmapfile txt_rev:map.txt [NC]
RewriteMap slug int:slug

SetEnv mod_seo
SeoRule ^?catMain\.asp\?tagID=(\d+)$
tag_${slug:${mapfile:$1|$1}}.asp [Redirect,Scope=A, NC]

RewriteCond %{REQUEST_FILENAME} tag.+ [NC]
RewriteRule tag_(\d+)\.asp /catMain.asp?tagID=$1
[NC,L,NS]
RewriteCond %{REQUEST_FILENAME} tag.+ [NC]
RewriteRule tag_([a-zA-Z�-��-�_0-9]+)\.asp /catMain.asp?
tagID=${revmapfile:$1} [NC,L,NS]

Back to Top View chaos's Profile Search for other posts by chaos
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1542
Posted: 10 May 2011 at 2:43am | IP Logged Quote Vyacheslav

Hello.
Would you please provide several examples of non-working links. There should be original URL and processed URL in every example.
Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
chaos
Newbie
Newbie


Joined: 08 May 2011
Location: Russian Federation
Online Status: Offline
Posts: 5
Posted: 10 May 2011 at 10:37am | IP Logged Quote chaos

on page /catMain.htm (/catmain.asp) mod_seo and
mod_linkfreeze works properly.
We proceed on rewrited link: /tag_keyword1.html
(/catMain.asp?tagID=86) - No links are rewrited.
But if we proceed http://mp/catMain.asp?tagID=86 we will be
redirected to /tag_keyword1.html
Back to Top View chaos's Profile Search for other posts by chaos
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1542
Posted: 12 May 2011 at 5:37am | IP Logged Quote Vyacheslav

Hello.
Please try the following code:
Code:
RewriteEngine on
RewriteBase /
RewriteMap mapfile txt:map.txt [NC]
RewriteMap revmapfile txt_rev:map.txt [NC]
RewriteMap slug int:slug

SetEnv mod_seo
SeoRule ^/catMain\.asp\?tagID=(\d+)$ tag_${slug:${mapfile:$1|$1}}.asp [Redirect,Scope=A, NC]

RewriteCond %{REQUEST_FILENAME} tag.+ [NC]
RewriteRule tag_(\d+)\.asp /catMain.asp?tagID=$1
[NC,L,NS]
RewriteCond %{REQUEST_FILENAME} tag.+ [NC]
RewriteRule tag_([a-zA-Zà-ÿÀ-ß_0-9]+)\.asp /catMain.asp?
tagID=${revmapfile:$1} [NC,L,NS]


Unicode characters might be incorrect due to encoding differences.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
chaos
Newbie
Newbie


Joined: 08 May 2011
Location: Russian Federation
Online Status: Offline
Posts: 5
Posted: 13 May 2011 at 5:54am | IP Logged Quote chaos

Unfortunately it did not help.
On page http://mp/tag_keyword1.asp All Links in its original
form.
Back to Top View chaos's Profile Search for other posts by chaos
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1542
Posted: 13 May 2011 at 7:37am | IP Logged Quote Vyacheslav

Have you tried to remove NS flag?

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
chaos
Newbie
Newbie


Joined: 08 May 2011
Location: Russian Federation
Online Status: Offline
Posts: 5
Posted: 14 May 2011 at 9:44am | IP Logged Quote chaos

Yes, but unfortunatelly mod_linkfreeze does not work on
rewrited page.
Back to Top View chaos's Profile Search for other posts by chaos
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1542
Posted: 16 May 2011 at 3:22am | IP Logged Quote Vyacheslav

Hello.
Please make sure “NS” flag is removed from each rule. Enabled logs (“LogLevel debug” in httpd.conf). Restart IIS.
Make several requests and use the following article to generate zip-archive with relevant data (docs, configs all together): http://www.helicontech.com/articles/zip-and-save-option-in-ape-manager/

Please send it to support@helicontech.com

Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
chaos
Newbie
Newbie


Joined: 08 May 2011
Location: Russian Federation
Online Status: Offline
Posts: 5
Posted: 16 May 2011 at 2:52pm | IP Logged Quote chaos

Hello!
Thanks a lot!
All is working now.
Back to Top View chaos's Profile Search for other posts by chaos
 

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 can vote in polls in this forum