* On 16/05/07 14:28 +0200, Henrik Nordstrom wrote:
| tis 2007-05-15 klockan 17:00 +0300 skrev Odhiambo WASHINGTON:
| > Perhaps this a FAQ, but...how do I configure squid to serve the same
| > page regardless of the incoming URL.
| Please be a bit more specific. HTTP does not have pages.. (just
Sure, I was a bit vague. I am sorry.
| 0) Is this a forward proxy for LAN -> Internet access, or a reverse
| proxy for Internet -> Your web server?
This is a forward proxy for LAN -> Internet.
I want to serve only three urls, both hosted
on the Squid box itself:
All other requests for pages on the Internet will be redirected to
one of the webmail.domain.name.
| a) Do you want Squid to ignore the hostname component of received URLs
| and always return the same site?
Yes. Kind of, but please refer to (0) above.
| b) Do you want to redirect the user to a specific page unless the URL is
| for that server?
| c) As 'b' but without a redirect just rewriting the requested URL on the
| fly. Requires the redirection page to use absolute URLs as the browser
| is unaware the URL has been changed under it's feets.