[Bb-trac] Re: [bbPress] #882: Create proper front-controller based on mod_rewrite

bbPress bb-trac at lists.bbpress.org
Wed May 28 14:02:35 GMT 2008


#882: Create proper front-controller based on mod_rewrite
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  sambauers         
     Type:  enhancement  |       Status:  new               
 Priority:  normal       |    Milestone:  1.0-beta & XML-RPC
Component:  Back-end     |      Version:  1.0-alpha (trunk) 
 Severity:  normal       |   Resolution:                    
 Keywords:  mod_rewrite  |  
-------------------------+--------------------------------------------------
Comment (by sambauers):

 I'm looking at URL structure options like these (only major pages listed):

  * !http://example.com/?id=1   (No object, assume topic)
  * !http://example.com/?object=topic&id=1
  * !http://example.com/topic/1
  * !http://example.com/topic/frist-post

  * !http://example.com/?object=forum&id=123
  * !http://example.com/forum/123
  * !http://example.com/forum/my-great-forum

  * !http://example.com/?object=view&id=2
  * !http://example.com/view/2
  * !http://example.com/view/no-replies

  * !http://example.com/?object=profile&id=1234
  * !http://example.com/profile/1234
  * !http://example.com/profile/sambauers

  * !http://example.com/?object=tag&id=26
  * !http://example.com/tags/26
  * !http://example.com/tags/mod-look

 I'm not sure yet how to go about supporting the old non-permalink style
 links (topic.php?id=1 and friends). It could be done through mod_rewrite I
 think, but that generally won't be an option for users who used that
 style. I don't really want to include "stub" files for each page either.
 Any suggestions?

-- 
Ticket URL: <http://trac.bbpress.org/ticket/882#comment:2>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list