Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. # Make sure you only match on files/directories that don't actually exist
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteBase /
  7. # Rewrite the first part after the `/` into a `username` parameter
  8.  
  9. RewriteRule ^(.+)$ groups/index.php?gname=$1 [L,QSA]
  10.  
  11.  
  12. RewriteRule ^edit/id/([0-9]+)/?$ groups/view_update.php?pid=$1 [NC,QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement