Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 25th August 2009, 16:16
LEGEND's Avatar
LEGEND LEGEND is offline
Senior Member
 
Join Date: Jun 2008
Czech Republic
Posts: 31
Question tbdev with mod_rewrite???
i need help i have installed tbdev from SVN, and i need make .htaccess for mod_rewrite links... Have you an idea?

for example i have browse.php?cat=1 for my Anime category, and i need rewrite to /category/Anime and etc

THX for reply
Reply With Quote
  #2  
Old 25th August 2009, 16:49
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
It`s better to look into some tutorials first:

[url=http://www.xinsight.ca/blog/tips-for-configuring-apaches-mod_rewrite]Tips for configuring Apache
Reply With Quote
  #3  
Old 25th August 2009, 17:35
kp380lv's Avatar
kp380lv kp380lv is offline
Senior Member
 
Join Date: May 2008
Latvia
Posts: 388
Default
My mod rewrite:)

add this into your .htaccess file

PHP Code:

Order Allow
,Deny
Allow from all
php_flag display_errors On

Options 
+FollowSymLinks
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteEngine On

RewriteRule 
^release/([0-9]+)/$ details.php?id=$[L]
RewriteRule ^edit/([0-9]+)/$ edit.php?id=$[L]
RewriteRule ^cat/([0-9]+)$ browse.php?cat=$[L]
RewriteRule ^comments/([0-9]+)/$ details.php?id=$1&page=0#startcomments [L] 
Reply With Quote
  #4  
Old 25th August 2009, 17:43
LEGEND's Avatar
LEGEND LEGEND is offline
Senior Member
 
Join Date: Jun 2008
Czech Republic
Posts: 31
Default
Quote:
Originally Posted by kp380lv View Post
My mod rewrite:)

add this into your .htaccess file
THX, this i need :bubble:

And one question.. I have for example /cat/1 for Anime category.. And is possible make /cat/Anime ??? Thanks for reply
Reply With Quote
Reply

Tags
modrewrite , tbdev

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[TBDev] shoutcast radio for tbdev Slatkis TBDev 14 3rd June 2017 09:08
TorrentStrike theme engine to TBdev Kotafi Mods & Themes 6 13th May 2012 04:42
[TBDEV] Pets Scripts for TBDev BacKUP TBDev 4 7th September 2011 15:36



All times are GMT +2. The time now is 12:14. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.