943,355 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 49631
  • PHP RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Oct 27th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

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,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Nordinho is offline Offline
3 posts
since Oct 2004
Oct 27th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

@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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Thomas P is offline Offline
5 posts
since Oct 2004
Oct 28th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

Quote 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??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Nordinho is offline Offline
3 posts
since Oct 2004
Oct 28th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

Quote 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...

Quote ...
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]
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Nordinho is offline Offline
3 posts
since Oct 2004
Oct 29th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

Nordinho, that is really sneaky - now it works http://www.smilieportal.de/img/cool/1/028.gif

Thanks!
-Tom
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Thomas P is offline Offline
5 posts
since Oct 2004
Oct 29th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

Hey guys. I fixed the backslash stripping problem. Sorry about that!
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Nov 1st, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

Quote 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.

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

That line is what works.
Reputation Points: 10
Solved Threads: 0
Light Poster
kall is offline Offline
40 posts
since Oct 2004
Nov 3rd, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

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.
Reputation Points: 10
Solved Threads: 0
Light Poster
TraderX is offline Offline
37 posts
since Sep 2004
Nov 3rd, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

Anyone noticed that using this or KeithMcL's hack will close out user who don't use cookies and need sessionhashes?

(?)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Thomas P is offline Offline
5 posts
since Oct 2004
Nov 5th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

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?
Reputation Points: 10
Solved Threads: 1
Light Poster
I, Brian is offline Offline
47 posts
since Mar 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: using php to check for filenames
Next Thread in PHP Forum Timeline: Interesting, yet probably simple, PHP Nuke Error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC