title: can't escape dot (.) at my mod_rewrite code
body: <p>i need to transform following address of my site: <code>http://mysite.com/do.php?id=123.W456/789</code> into <code>http://mysite.com/123.W456/789</code></p>
  
  <p>i've almost got succeed in this noble purpose with following .htaccess file</p>
  
  <p><code>DirectoryIndex mysite.php</code></p>
  
  <p><code>RewriteEngine On</code>
  <code>RewriteRule ^([A-Za-z0-9\/&amp;#46;]+)?$ mysite.php?id=$1 [L]</code></p>
  
  <p>where <code>&amp;#46;</code> is a code of <code>.</code> (dot) character</p>
  
  <p>it goes cool with such url string <code>http://mysite.com/123W456/789</code> (i.e rewrites it to <code>http://mysite.com/do.php?id=123W456/789</code>)</p>
  
  <p>but DOESN'T rewrite url string with dot character - <code>http://mysite.com/123.W456/789</code></p>
  
  <p>can anybody help?</p>