Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: phpBB SEO Advanced mod Rewrite Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
somewherehot
Newbie
Newbie


Joined: 16 December 2006
Location: United Kingdom
Online Status: Offline
Posts: 17
Posted: 08 June 2007 at 6:07am | IP Logged Quote somewherehot

Hi,

I've just installed phpBB SEO Advanced mod Rewrite for my forum.

But I cant figure out how to write the correct isapi rewrite rule.,

I've searched this forum, but I can not find the answer.

The test site is at http://www.sunset7.co.uk/forum/

this is the.htaccess that they specify in the mod:

#########################################################
# PHPBB SEO REWRITE RULES    #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^phpbb/index\.html$ /phpbb/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^phpbb/[a-z0-9_-]+/([^/]+\.html)$ /phpbb/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^phpbb/[a-z0-9_-]*-c([0-9]+)\.html$ /phpbb/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /phpbb/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)\.html$ /phpbb/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^phpbb/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^phpbb/[a-z0-9_-]*-t([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^phpbb/post([0-9]+)\.html$ /phpbb/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^phpbb/member([0-9]+)\.html$ /phpbb/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################

Here is write I set the rules to in isapi:

RewriteEngine On

# CATEGORIES
RewriteRule forum/.+-vc([0-9]+)\.html$ forum/index.php\?c=$1 [I,L]
# PAGINATED FORUM
RewriteRule forum/.+-vf([0-9]+)-([0-9]+)\.html$ forum/viewforum.php\?f=$1&start=$2 [I,L]
# FORUM
RewriteRule forum/.+-vf([0-9]+)\.html$ forum/viewforum.php\?f=$1 [I,L]
# PAGINATED TOPIC
RewriteRule forum/.+-vt([0-9]+)-([0-9]+)\.html$ forum/viewtopic.php\?t=$1&start=$2 [I,L]
# TOPIC
RewriteRule forum/.+-vt([0-9]+)\.html$ forum/viewtopic.php\?t=$1 [I,L]
# FORUM PROTECTION RULE
RewriteRule forum/.+/([^/]+\.html)$ forum/ [R=301,L]
# POST
RewriteRule forum/post([0-9]+)\.html$ forum/viewtopic.php\?p=$1 [I,L]
#PROFILES
RewriteRule forum/member([0-9]+)\.html$ forum/profile.php\?mode=viewprofile&u=$1 [I,L]
# END PHPBB PAGES

It doesnt work at all!!! Can somebody please help?

Thanks

Back to Top View somewherehot's Profile Search for other posts by somewherehot Visit somewherehot's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Online
Posts: 4693
Posted: 11 June 2007 at 5:10am | IP Logged Quote Anton

Try this:

# CATEGORIES
RewriteRule /forum/.+-vc([0-9]+)\.html /forum/index.php\?c=$1 [I,L]
# PAGINATED FORUM
RewriteRule /forum/.+-vf([0-9]+)-([0-9]+)\.html /forum/viewforum.php\?f=$1&start=$2 [I,L]
# FORUM
RewriteRule /forum/.+-vf([0-9]+)\.html /forum/viewforum.php\?f=$1 [I,L]
# PAGINATED TOPIC
RewriteRule /forum/.+-vt([0-9]+)-([0-9]+)\.html /forum/viewtopic.php\?t=$1&start=$2 [I,L]
# TOPIC
RewriteRule /forum/.+-vt([0-9]+)\.html /forum/viewtopic.php\?t=$1 [I,L]
# FORUM PROTECTION RULE
RewriteRule /forum/.+/([^/]+\.html) /forum/ [RP,L]
# POST
RewriteRule /forum/post([0-9]+)\.html /forum/viewtopic.php\?p=$1 [I,L]
#PROFILES
RewriteRule /forum/member([0-9]+)\.html /forum/profile.php\?mode=viewprofile&u=$1 [I,L]
# END PHPBB PAGES

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


Joined: 16 December 2006
Location: United Kingdom
Online Status: Offline
Posts: 17
Posted: 11 June 2007 at 5:17am | IP Logged Quote somewherehot

Nope, this didnt work. Thank you for the reply though.

Below is my httpd.ini file - I've disabled some of my other rules in case there was a conflict.

[ISAPI_Rewrite]
# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20061127173036
# Helm ISAPI - Rule Name: Block external access to the httpd.ini and httpd.parse.errors files
# Helm ISAPI - Status: ACTIVE
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20061127173055
# Helm ISAPI - Rule Name: Block external access to the Helper ISAPI Extension
# Helm ISAPI - Status: ACTIVE
RewriteRule .*\.isrwhlp / [F,I,O]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112013
# Helm ISAPI - Rule Name: CATEGORIES
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/.+-vc([0-9]+)\.html /forum/index.php\?c=$1 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112036
# Helm ISAPI - Rule Name: PAGINATED FORUM
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/.+-vf([0-9]+)-([0-9]+)\.html /forum/viewforum.php\?f=$1&start=$2 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112054
# Helm ISAPI - Rule Name: FORUM
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/.+-vf([0-9]+)\.html /forum/viewforum.php\?f=$1 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112117
# Helm ISAPI - Rule Name: PAGINATED TOPIC
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/.+-vt([0-9]+)-([0-9]+)\.html /forum/viewtopic.php\?t=$1&start=$2 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112131
# Helm ISAPI - Rule Name: TOPIC
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/.+-vt([0-9]+)\.html /forum/viewtopic.php\?t=$1 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112145
# Helm ISAPI - Rule Name: FORUM PROTECTION RULE
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/.+/([^/]+\.html) /forum/ [RP,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112202
# Helm ISAPI - Rule Name: POST
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/post([0-9]+)\.html /forum/viewtopic.php\?p=$1 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20070608112214
# Helm ISAPI - Rule Name: PROFILES
# Helm ISAPI - Status: ACTIVE
RewriteRule /forum/member([0-9]+)\.html /forum/profile.php\?mode=viewprofile&u=$1 [I,L]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20061126215645
# Helm ISAPI - Rule Name: Redirect non www over to www.
# Helm ISAPI - Status: DISABLED
# RewriteCond Host: snowskool\.co\.uk
# RewriteRule (.+) http\://www\.snowskool\.co\.uk$1 [I,R]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20061205173827
# Helm ISAPI - Rule Name: Rules for Joomla SEF
# Helm ISAPI - Status: DISABLED
# RewriteRule ^/$                      /index.php
# RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3&limit=$4&limitstart=$5
# RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3
# RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+) /index.php?option=$1&$2=$3&$4=$5&$6=$7
# RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/ /index.php?option=$1&$2=$3
# Helm ISAPI - End Of Rule

# Helm ISAPI - Start Of Rule
# Helm ISAPI - Rule ID: 20061213101307
# Helm ISAPI - Rule Name: Single Home Page Rewriting
# Helm ISAPI - Status: DISABLED
# RewriteRule /component/option,com_frontpage/Itemid,1/ http\://www.snowskool.co.uk/ [I,RP]
# Helm ISAPI - End Of Rule

# Helm ISAPI - Signature Hash: EDF244942CFBCCA6D84D9D0F9D05ADB3
# WARNING: THIS FILE CANNOT BE MODIFIED OUSTIDE OF HELM AND HELM ISAPI!

Back to Top View somewherehot's Profile Search for other posts by somewherehot Visit somewherehot's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 11 June 2007 at 9:30am | IP Logged Quote Yaroslav

Is it expected to work? Does Helm support ISAPI_Rewrite syntax? Your first and second ruleset seem to be completely different to me so I'm not sure if translation was right or it makes any sence.
I suggest you to wait a month for release of ISAPI_Rewrite 3.0 that will support same syntax with Apache mod_rewrite so you may use your mod_rewrite rules without modification.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
somewherehot
Newbie
Newbie


Joined: 16 December 2006
Location: United Kingdom
Online Status: Offline
Posts: 17
Posted: 12 June 2007 at 10:33am | IP Logged Quote somewherehot

Can you send me a link to the release of ISAPI_Rewrite 3.0

I'll also look in to this forum code some more

Thank you for your help



__________________
John Powell
Web Design Hampshire
Back to Top View somewherehot's Profile Search for other posts by somewherehot Visit somewherehot's Homepage
 

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