[Revised] vBulletin Mod_rewrite Tutorial

Reply

Join Date: Oct 2004
Posts: 3
Reputation: Nordinho is an unknown quantity at this point 
Solved Threads: 0
Nordinho Nordinho is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #11
Oct 27th, 2004
Hmm...it doesn't seem to work for me...After some editing I got it displaying allright, but the url's lead to error pages... for example http://www.nordinho.com/vbull/f4-the...ws-forums.html leads to a error page...any idea's how to solve this or where to start?? My testforum is located at www.nordinho.com/vbull
(The last post in thread works fine by the way)

Greets Nordinho,
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 5
Reputation: Thomas P is an unknown quantity at this point 
Solved Threads: 0
Thomas P Thomas P is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #12
Oct 27th, 2004
@Nordinho: Exactly the same I experience. So mod_rewrite seems to work, but something is going wrong.

@KeithMcL: Could you please bare with us and try to push us in the right direction?

Thanks,
-Tom
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3
Reputation: Nordinho is an unknown quantity at this point 
Solved Threads: 0
Nordinho Nordinho is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #13
Oct 28th, 2004
Originally Posted by Thomas P
@Nordinho: Exactly the same I experience. So mod_rewrite seems to work, but something is going wrong.

@KeithMcL: Could you please bare with us and try to push us in the right direction?

Thanks,
-Tom
Anyone who can help us??
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3
Reputation: Nordinho is an unknown quantity at this point 
Solved Threads: 0
Nordinho Nordinho is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #14
Oct 28th, 2004
Originally Posted by Nordinho
Anyone who can help us??
Thomas P, I found us the fix!! :p

Keith used the wrong rewrite lines...your htaccess file should look like the one below...

RewriteEngine On
Options +FollowSymLinks
RewriteRule ^t([0-9]+)-(.*).html$ showthread.php?t=$1 [L]
RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
RewriteRule ^f([0-9]+)-(.*).html$ forumdisplay.php?forumid=$1 [L]
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 5
Reputation: Thomas P is an unknown quantity at this point 
Solved Threads: 0
Thomas P Thomas P is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #15
Oct 29th, 2004
Nordinho, that is really sneaky - now it works http://www.smilieportal.de/img/cool/1/028.gif

Thanks!
-Tom
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #16
Oct 29th, 2004
Hey guys. I fixed the backslash stripping problem. Sorry about that!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 40
Reputation: kall is an unknown quantity at this point 
Solved Threads: 0
kall's Avatar
kall kall is offline Offline
Light Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #17
Nov 1st, 2004
Originally Posted by cscgal
Hey guys. I fixed the backslash stripping problem. Sorry about that!
Thanks Dani, but it's still not quite right, in the functions/online bit anyway.

  1. $userinfo['where'] = "<a href=\"t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a> ";

That line is what works.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 34
Reputation: TraderX is an unknown quantity at this point 
Solved Threads: 0
TraderX's Avatar
TraderX TraderX is offline Offline
Light Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #18
Nov 3rd, 2004
hello all... I am thinking of adding vBadvanced CMPS and was wondering if any one is also using it with this Mod_rewrite or have any idea if it will work or not, or any problems that can happen.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 5
Reputation: Thomas P is an unknown quantity at this point 
Solved Threads: 0
Thomas P Thomas P is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #19
Nov 3rd, 2004
Anyone noticed that using this or KeithMcL's hack will close out user who don't use cookies and need sessionhashes?

(?)
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #20
Nov 5th, 2004
If it's not a silly question, how would the the file "external.php" need to be modded, so that RSS feed of the forums would show the HTML threads, rather than the dynamic php URLs?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC