* 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
| objects..).
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:
http://webmail.domain.name
https://webmail.domain.name
http://manager.domain.name
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?
No.
| 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.
Not sure if this applies to my need :-)
Thanks in advance
-Wash
http://www.netmeister.org/news/learn2quote.html
DISCLAIMER: See http://www.wananchi.com/bms/terms.php
--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
"I don't have any solution but I certainly admire the problem."
		-- Ashleigh Brilliant
Received on Thu May 17 2007 - 03:28:13 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT