title: how to configure apache for xampp on mac osx lion to use mod_rewrite
body: <p>i am totally newbie for .htaccess or apache. Don't know how it works.</p>
  
  <p>my url is like </p>
  
  <p><code>http://localhost/category.php?category=something</code></p>
  
  <p>i wanna get the variable value as <strong><em>something</em></strong> in category.php but wanna show the url as</p>
  
  <p><code>http://localhost/something</code></p>
  
  <p>how can i do this please help.</p>
  
  <p>Thank you in advance</p>