title: python SimpleHTTPServer reverse proxy
body: <p>Currently for development purpose we are using pythons <strong>SimpleHTTPServer</strong> to expose a folder which has static content like html,css and js. </p>
  
  <p>Within our js files we will be calling couchDB url, but the couchDB url is in different machine or ip address.</p>
  
  <p>Is there a way so that when we hit <a href="http://localhost:8000/couchDB/user" rel="nofollow">http://localhost:8000/couchDB/user</a> python can proxy pass to <a href="http://couchdb-ipaddress:5894/user" rel="nofollow">http://couchdb-ipaddress:5894/user</a> ? I am new to Python. Currently I cant use any other tool. I found this link but didn't understand what it is.
  <a href="http://effbot.org/librarybook/simplehttpserver.htm" rel="nofollow">http://effbot.org/librarybook/simplehttpserver.htm</a></p>
  
  <p>if its not possible in python's <strong>SimpleHTTPServer</strong> then i will use <strong>Apache http server</strong> and config the <strong>httpd.conf</strong> file.</p>