LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 712 users online 225087 members 1175 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Hi Carie
Music: I love music, and I love to sing!
Mood: Stressed
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
11 online / 16 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Quoting Post
Archived Topic: It will not be bumped to the top of the forum.
Topic What do you use to prettify your URLs?
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Mediocre Posted at 6:29 pm on Dec. 30, 2008
A lot of popular applications rewrite everything to the index file and include from there. I, on the other hand, have a mod_rewrite entry for each page, based on the assumption that it would be faster (and simpler) to let Apache handle everything.

So my .htaccess has about 60 lines like this:
Code:
RewriteRule ^reply/?([0-9]+)?/?([0-9]+)?/?$ view.php?action=reply&pid=$1&cid=$2 [L]

I have never seen anyone else do this. Why? Is it a bad idea?

Replies
LucidAssassin Posted at 6:31 pm on Dec. 30, 2008
Post from this position was omitted due to content violations
Precarious Posted at 6:31 pm on Dec. 30, 2008
Post from this position was omitted due to content violations
sub800 Posted at 6:30 pm on Dec. 30, 2008
Post from this position was omitted due to content violations
All 3 previous replies displayed.