On Tue, 21 Dec 2004 lh79@mail.ru 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
Received on Tue Dec 21 2004 - 18:01:05 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST