Hi all, it's been a long time, and FreeBSD continues to serve my household very well.
I am wanting to try something, and am wondering if there is a port available that already does what I am looking for. I am wanting to deploy a web (forward) proxy, much like you find here at ProxySite, only I am wanting the URLs that are exchanged, to NOT work like this:
Clicked URL sent, from browser, to proxy:
URL received from proxy, to browser:
Instead I would like the URL transformation to be like this, for example:
URL between proxy and Internet:
URL between proxy and browser:
The objective is to have a web proxy with an appearance an functionality of ProxySite for example, but the URLs are not made obscure via the PHP process. Instead the 'inside' (browser to proxy) URLs exchanged are very much like the 'outside' (proxy to the 'www') except the domain name is really the piece that is transformed. Underneath, a whole lot of URL rewriting is going on, for each and every object, inserting my domain into the URL string, and converting the www site domain from using dots to dashes and making that the 'root' path to all the URLs for that web site.
I was looking at NGINX URL rewriting but I understand its a reverse proxy and not a forward proxy so am thinking I was looking down the wrong path.
Also, optional, it would be a great option, if I can configure cache control headers so that either (a) the original cache control headers are preserved, or (b) cache control headers variables could be manually set.
Does such a port/pkg already exist for FreeBSD that does it this way, or am I looking at having to do this from scratch? I got to believe this has already been done.
Hope all is well with everyone,
PacketMan
I am wanting to try something, and am wondering if there is a port available that already does what I am looking for. I am wanting to deploy a web (forward) proxy, much like you find here at ProxySite, only I am wanting the URLs that are exchanged, to NOT work like this:
Clicked URL sent, from browser, to proxy:
Code:
https://us8.proxysite.com/process.php?d=WUlnEjnNrSu1aAxHYj6ATJNSocTeUGs4pw%3D%3D&b=1
Code:
https://us8.proxysite.com/process.php?
Instead I would like the URL transformation to be like this, for example:
URL between proxy and Internet:
Code:
https://www.bbc.com/news/us-canada
Code:
https://myproxy.mydomainhere.net/www-bbc-com/news/us-canada
The objective is to have a web proxy with an appearance an functionality of ProxySite for example, but the URLs are not made obscure via the PHP process. Instead the 'inside' (browser to proxy) URLs exchanged are very much like the 'outside' (proxy to the 'www') except the domain name is really the piece that is transformed. Underneath, a whole lot of URL rewriting is going on, for each and every object, inserting my domain into the URL string, and converting the www site domain from using dots to dashes and making that the 'root' path to all the URLs for that web site.
I was looking at NGINX URL rewriting but I understand its a reverse proxy and not a forward proxy so am thinking I was looking down the wrong path.
Also, optional, it would be a great option, if I can configure cache control headers so that either (a) the original cache control headers are preserved, or (b) cache control headers variables could be manually set.
Does such a port/pkg already exist for FreeBSD that does it this way, or am I looking at having to do this from scratch? I got to believe this has already been done.
Hope all is well with everyone,
PacketMan