title: .htaccess parameters redirect
body: <p>I have a problem with a <code>.htaccess</code> file. I have a url like <code>http://example.com/auction/category.php?lvl_1=texnologia</code>. I use the code in <code>.htaccess</code> file:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([^/]*)$ /auction/category.php?lvl_1=$1 [L]
  </code></pre>
  
  <p>And it works perfectly: <code>http://example.com/texnologia</code>  </p>
  
  <ul>
  <li>But, would also like to use <code>http://example.com/auction/category.php?lvl_1=texnologia&amp;lvl_2=gaming</code> to go to <code>http://example.com/texnologia/gaming</code>.</li>
  <li>And <code>http://example.com/auction/category.php?lvl_1=texnologia&amp;lvl_2=gaming&amp;lvl_3=konsoles</code> to go to
  <code>http://example.com/texnologia/gaming/konsoles</code>.</li>
  </ul>
  
  <p>Under my earlier code, I put:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /auction/category.php?lvl_1=$1&amp;lvl_2=$2 [L]
  
  RewriteEngine On
  RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /auction/category.php?lvl_1=$1&amp;lvl_2=$2&amp;lvl_3=$3 [L]
  </code></pre>
  
  <p>But, I get a 500 error.</p>