title: 403 Forbidden when I urlencode parameters
body: <p>I'm using Wamp with Apach 2.4.2 on a windows 7 64bit system. During my tests, I tried to <code>urlencode</code> my url string.</p>
  
  <p>I am getting the following 403 forbidden error message:  </p>
  
  <blockquote>
    <p>You don't have permission to access /chi-linux/membersareaDev.php?doProfile=true on this server.</p>
  </blockquote>
  
  <p>The links without urlencoding do not give an error. Since this is a dev box I do have access to http.conf (no changes). All of my code is in c:\wamp\www\chi-linux 
  I don't get a permissions problem if I don't urlencode.</p>
  
  <p>Here is my code:  </p>
  
  <pre><code>&lt;?php $url1 = urlencode("membersareaDev.php?doStatus=true?statid=10"); 
  $url2 = urlencode("membersareaDev.php?doProfile=true");
  echo "url=$url1";
  ?&gt;
  &lt;li&gt;&lt;a href="membersareaDev.php?doProfile=true"&gt;Profiles&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&lt;?php echo "$url2"; ?&gt; &gt;Profiles Encode&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href= "membersareaDev.php?doStatus=true?amp;statid=10"&gt;Status&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href= &lt;?php echo $url1;?&gt;&gt;Status Encode&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Any ideas as to what I'm missing?</p>