On Tue, 21 Dec 2004 [EMAIL PROTECTED] wrote:
Is it possible to configure squid, so it could be accessed using, say domain1.com:3128, but not accessed using, say domain2.com:3128?
No. Squid won't see any difference. In both cases the client is connecting to the IP address + port. The host name is only used by the client to find the IP and is not sent to the proxy.
And another question is it possible to configure squid, so it could be accessed using, say domain1.com:3128, but not accessed using IP address of this box?
Same question.
The situation is the same for any HTTP proxy, including Apache in proxy mode.
If your question is regarding a reverse proxy then yes, Squid can be set up to only accept requests for http://domain1.com/... not http://domain2.com or http://server.ip.address/...
Regards Henrik
