title: change static url to dynamic with mod_rewrite
body: <p>I need to change something like this:</p>
  
  <pre><code>www.mydomain.com/www.otherdomain.com
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>www.mydomain.com/index.php?co=www.otherdomain.com
  </code></pre>
  
  <p>Using mod_rewrite I came up with this:</p>
  
  <pre><code>RewriteRule ^(.*.)+$ index.php?co=$1 [L]
  </code></pre>
  
  <p>However it is only returning "index.php" for the <code>co</code> parameter and not "www.otherdomain.com" like I want it to.</p>
  
  <p>Thanks for any help!</p>