Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # .htaccess rules:
  2.  
  3. RewriteCond %{QUERY_STRING} user=(.+)
  4. RewriteCond %{QUERY_STRING} password=(.+)
  5. RewriteRule ^index\.html?(.*) index\.php?user=%1&password=%2 [NC,L]
  6.  
  7.  
  8. #url : index.html?user=myusername&password=mypassword
  9. # What i see:
  10. # user=mypassword
  11. # password = (e.g. empty)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement