title: Rewrite Rule for GET variables .htaccess
body: <p>Well I'm havin trouble creating <code>.htaccess</code>, anyway I have categories in my menu for example <code>test1</code>,<code>test2</code>,<code>test3</code> that are the names of a folders, and what I'm trying to do is to point the second parameter of the url to <code>index.php</code>, for example <code>http://myapp/test1</code> I want to be able from the <code>index.php</code> to have <code>$_GET['cat'] = test1</code> and so on.. 
  <br>Here's what I've tried so far and didn't work:</p>
  
  <pre><code>Options +FollowSymlinks
  RewriteEngine on
  
  RewriteRule ^(.*)/$ index.php?cat=$1 [NC,L]
  </code></pre>
  
  <p>Any help with this? Much appreciated.</p>