LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 686 users online 225461 members 893 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Darklancer17
No Parking
Mood: Relaxed
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
2 online / 79 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

What do you use to prettify your URLs?
Replies: 3Last Post Dec. 30, 2008 6:31pm by LucidAssassin
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Mediocre )


Dairy Product Addict
Reply
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?

-------
Incest and bestiality are neat.


6:29 pm on Dec. 30, 2008 | Joined: Nov. 2007 | Days Active: 209
Join to learn more about Mediocre Czech Republic | Male | Posts: 1,642 | Points: 3,195
LiveWire Humor
Post from this position was omitted due to content violations
Post from this position was omitted due to content violations
Post from this position was omitted due to content violations
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic