title: apache server not redirecting correctly
body: <p>I have written a module in apache which logs information when invoked lets say the url it is pointing at is localhost:12345/imp, i would like to subsequently after executing the code in this module redirect each request to different URL say for example www.cnn.com.</p>
  
  <pre><code>apr_table_add(r-&gt;headers_out, "Location","www.cnn.com" );
  return HTTP_TEMPORARY_REDIRECT;
  </code></pre>
  
  <p>I have tried the above in my module however all it seems to do is call my module twice and it seems to be attempting to access localhost:12345/www/cnn/com. Surely there must be someone who has done similar to what i am attempting, can someone please advise?</p>
  
  <p>Many thanks</p>