Squid reverse proxy?
So im trying to configure a reverse proxy on one of my VPS servers, and im using squid3, so this tutorial doesnt work > http://www.visolve.com/squid/whitepa...verseproxy.php
I have been looking at this one though > http://www.lesismore.co.za/squid3.html Which seems to get me a lot closer. My goal, is to get one domain to basically proxy to another, for example.. I want www.mydomain.com, to resolve to www.google.com. Much like a shell tunnel on port 80 would, only id rather use squid. Here is my current configuration.. Quote:
|
Lmfao...
.. so I was testing with google, just like in above, and it was actually googles rewrite that was redirecting it to google... damnit |
Im still having a bit of an issue. Im using the same config as whats above, only defaultsite=IP_OF_MAIN_SERVER.
Now when I pass the variable $_SERVER['HTTP_HOST'];, it shows the variable of the IP thats the default site, any way to make it show whats in the URL request?... Is this a squid configuration? |
Any ideas?
|
All times are GMT -5. The time now is 04:46 PM. |