Python SimpleHTTPServer reverse proxy
We are currently using pythons SimpleHTTPServer for development purposes to open a folder with static content like html, css and js.
In our js files, we will call the url couchDB, but the couchDB url is on a different machine or IP.
Is there a way so that when clicking http: // localhost: 8000 / couchDB / user python can proxy go to http: // couchdb-ipaddress: 5894 / user ? I am new to Python. I am currently unable to use any other tool. I found this link but didn't figure out what it is. http://effbot.org/librarybook/simplehttpserver.htm
if this is not possible in python SimpleHTTPServer then I will use Apache http server and configure my httpd.conf file .
+3
source to share
No one has answered this question yet
Check out similar questions: