title: htaccess rewrite get parameter in subdirectory and retrieve with php
body: <p>I try rewriting <code>example.com/subdir/file.php?param=123</code> to <code>example.com/subdir/file/123</code> and retrieve the value in php.</p>
  <p>In the <code>.htaccess</code> in the main directory i wrote
  <code>RewriteRule ^/subdir/([^/.]+)/?$ /subdir/file.php?param=$1 [L,NC,QSA]</code> but it's not working.</p>