Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 27th, 2013  |  syntax: None  |  size: 0.36 KB  |  views: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. http://localhost/Test/index.php -> http://localhost/Test/home
  2. http://localhost/Test/index.php?do=main -> http://localhost/Test/main
  3. http://localhost/Test/index.php?do=profile&uid=1 -> http://localhost/Test/profile/1
  4.        
  5. RewriteRule ^/?index.php                    home/
  6. RewriteRule ^/?index.php?do=(w*)           $1/
  7. RewriteRule ^/?index.php?do=(w*)&uid=(w*) $1/$2