Which mod_rewrite does ozzu.com uses?

Post July 18th, 2008, 1:30 pm

Hi all,

where do I find the mod_rewrite tool that make phpbb 3.0 forums give these urls:

general-discussion/
general-discussion/new-comps-are-now-t89853.html

I am desperately looking for this ;-)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 18th, 2008, 1:30 pm

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: 20 Dec 2002
  • Posts: 6864
  • Loc: Seattle, WA
  • Status: Offline

Post July 18th, 2008, 1:52 pm

It is based off of this:

http://www.phpbb-seo.com/boards/advance ... t1219.html

I had to do a good deal of customizing to integrate it into ozzu since ozzu has multiple languages such as:

http://www.ozzu.com/es/debate-general/nueva-comps-hasta-ahora-t89853.html

and

http://www.ozzu.com/de/allgemeine-diskussion/neu-sind-jetzt-comps-t89853.html

But I believe that is all you wanted anyway :)
Rock the 411 - Need members to join that are interested
Television, shows, movies, music, and celebrity gossip forum

Post July 18th, 2008, 1:56 pm

thanks a million! will try this out!
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 21st, 2008, 3:05 pm

Thanks for that mod Bigwebmaster.

The problem with it, the .htaccess doesn't work for me... I get 500 Internal Server Error when I try to use it and it doesn't matter how I edit it or what kind of settings/options I use for it.

Any help?
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • spork
  • Rotaredom
  • Silver Member
  • User avatar
  • Joined: 22 Sep 2003
  • Posts: 5292
  • Loc: Rochester, NY
  • Status: Offline

Post July 21st, 2008, 3:17 pm

Check your Apache logs Bogey. 5xx errors mean something is wrong with your configuration (in this case, the .htaccess). The log will tell you what happened.
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 21st, 2008, 3:20 pm

Here is what it tells me
Quote:
[Mon Jul 21 17:04:34 2008] [alert] [client 127.0.0.1] C:/wamp/www/wd_rd/forum/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration


[EDIT:] Here is what the PHPBB SEO Mods spits out
  1. # Lines That should already be in your .htacess
  2. <Files "config.php">
  3. Order Allow,Deny
  4. Deny from All
  5. </Files>
  6. <Files "common.php">
  7. Order Allow,Deny
  8. Deny from All
  9. </Files>
  10.  
  11. # You may need to un-comment the following line
  12. # Options +FollowSymlinks
  13. # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
  14. RewriteEngine On
  15. # REWRITE BASE
  16. RewriteBase /
  17. # HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
  18.  
  19. #####################################################
  20. # PHPBB SEO REWRITE RULES - ADVANCED
  21. #####################################################
  22. # AUTHOR : dcz http://www.phpbb-seo.com
  23. # STARTED : 01/2006
  24. #################################
  25. # FORUMS PAGES
  26. ###############
  27. # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
  28. # RewriteRule ^wd_rd/forum/forum\.html$ /wd_rd/forum/index.php [QSA,L,NC]
  29. # FORUM
  30. RewriteRule ^wd_rd/forum/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /wd_rd/forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
  31. # TOPIC WITH VIRTUAL FOLDER
  32. RewriteRule ^wd_rd/forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /wd_rd/forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
  33. # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
  34. RewriteRule ^wd_rd/forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /wd_rd/forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
  35. # TOPIC WITHOUT FORUM ID & DELIM
  36. RewriteRule ^wd_rd/forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /wd_rd/forum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
  37. # PROFILES SIMPLE
  38. RewriteRule ^wd_rd/forum/member([0-9]+)\.html$ /wd_rd/forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
  39. # USER MESSAGES SIMPLE
  40. RewriteRule ^wd_rd/forum/member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /wd_rd/forum/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
  41. # GROUPS SIMPLE
  42. RewriteRule ^wd_rd/forum/group([0-9]+)(-([0-9]+))?\.html$ /wd_rd/forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
  43. # POST
  44. RewriteRule ^wd_rd/forum/post([0-9]+)\.html$ /wd_rd/forum/viewtopic.php?p=$1 [QSA,L,NC]
  45. # ACTIVE TOPICS
  46. RewriteRule ^wd_rd/forum/active-topics(-([0-9]+))?\.html$ /wd_rd/forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
  47. # UNANSWERED TOPICS
  48. RewriteRule ^wd_rd/forum/unanswered(-([0-9]+))?\.html$ /wd_rd/forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
  49. # NEW POSTS
  50. RewriteRule ^wd_rd/forum/newposts(-([0-9]+))?\.html$ /wd_rd/forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
  51. # THE TEAM
  52. RewriteRule ^wd_rd/forum/the-team\.html$ /wd_rd/forum/memberlist.php?mode=leaders [QSA,L,NC]
  53. # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
  54.  
  55. # FORUM WITHOUT ID & DELIM
  56. # THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
  57. RewriteCond %{REQUEST_FILENAME} !-f
  58. RewriteCond %{REQUEST_FILENAME} !-d
  59. RewriteRule ^wd_rd/forum/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /wd_rd/forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
  60. # END PHPBB PAGES
  61. #####################################################


[EDIT 2:] Also, why do I have about 4 errors per minute? on my apache log and most of it is file not found... I never see those errors on my screen...
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • spork
  • Rotaredom
  • Silver Member
  • User avatar
  • Joined: 22 Sep 2003
  • Posts: 5292
  • Loc: Rochester, NY
  • Status: Offline

Post July 21st, 2008, 3:28 pm

Do you have mod_rewrite enabled?
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: 20 Dec 2002
  • Posts: 6864
  • Loc: Seattle, WA
  • Status: Offline

Post July 21st, 2008, 3:29 pm

Bogey wrote:
Here is what it tells me
Quote:
[Mon Jul 21 17:04:34 2008] [alert] [client 127.0.0.1] C:/wamp/www/wd_rd/forum/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration



Sounds like your webhost doesn't have the mod_rewrite compiled with Apache. You will need to contact them and request it.
Rock the 411 - Need members to join that are interested
Television, shows, movies, music, and celebrity gossip forum
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 21st, 2008, 3:44 pm

Oh I see... I guess WAMP doesn't come with it. lol
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • spork
  • Rotaredom
  • Silver Member
  • User avatar
  • Joined: 22 Sep 2003
  • Posts: 5292
  • Loc: Rochester, NY
  • Status: Offline

Post July 21st, 2008, 6:42 pm

Yeah, it does. Click on the WAMP icon in your taskbar, go to Apache Modules, and enable it.
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 21st, 2008, 8:28 pm

Alright... now it doesn't give me the error... no it doesn't do anything at all... doesn't rewrite anything.

Bu the way spork... thanks for that :D
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."

Post Information

  • Total Posts in this topic: 11 posts
  • Moderator: Moderator Team
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.