# from Martin A. Brown
# on Thursday 03 May 2012:

>  2. Adds the HTTP header 'Host: linux-ip.net'

Which is what the server uses to decide which virtual host to serve, and 
this is the header your tiny http proxy would need to alter (if one were 
to find or implement such a proxy and run it on localhost, that would be 
very handy for testing and debugging.)

>And also, I agree with Paul Heinlein.  Using /etc/hosts is one way 
>to work around this sort of impoverished infrastructural 
>environment, should you find yourself so constrained.

Alas, /etc/hosts requires root access and must be setup on each of 
multiple machines.  If you happen to be able to run one machine as a 
proxy, I think setting an entry in /etc/hosts would get proxied as such 
with squid as long as the client is letting the proxy resolve domains.  
Then, using the proxy is just a user setting in firefox.  (Not that I 
recommend spending time on this before installing dnsmasq, which 
conveniently reads /etc/hosts and will also be your dhcp server to solve 
the problem of getting itself into your resolv.conf.)

--Eric
-- 
Insert random misquote here.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to