Proxy that shows proxied website
Hi all, I'm sorry if this may sound stupid but I am still new to proxies and the techniques used in them...
I am having difficulty setting up a proxy with node-http-proxy that allows one to change a request header but at the same time allow the website to be viewed as it is live.
Until now all the examples I tried seem to re-direct the proxied request to a target server which is not what I want. Is there a way to just have a man in the middle proxy that still ends up serving you the targeted website?
Thank you for your help.
@zalow517 code always helps with comments to explain the exact semantics you expect :). If you have a request come in to the proxy server, you will proxy the request to whatever target you specifiy. The proxy itself is always a mitm. I need more specifics to see whats going wrong and understand what you are trying to accomplish.