Re: [squid-users] Add a prefix/suffix if a domain is not resolved?

From: Kinkie <gkinkie_at_gmail.com>
Date: Sat, 8 Aug 2009 15:54:20 +0200

Many browsers already do this.

With Squid you can use a redirector scriptan but you'll have to write
your custom script, such a functionality is not bundled with squid.

On 8/7/09, Olivier Sannier <obones_at_free.fr> wrote:
> Hello all,
>
> I'm using Seamonkey without a proxy for general surfing at home and one
> thing that I came to like is the fact that if I type in an address that
> does not match any DNS record, it will try again by adding ".com" at the
> end if it's not already there. Similarly, it will add "www." in front if
> it's not already there.
> When I'm on the move, I often use my own squid proxy to connect to the
> internet and I loose this behavior because Squid replies with a "not
> found" page whenever there was no DNS record associated with the URL.
> Hence my question today:
>
> Is it possible to tell Squid to retry the same query with a given suffix
> or prefix if said prefix/suffix is not already in the URL?
> If yes, how can this be done?
>
> I looked around using various search engines, but I must say that I
> could not find anything on this subject.
>
> Thanks in advance for your help
> Olivier
>
>
> --
> Olivier Sannier
> olivier_at_obones.com
> http://www.obones.com/
>
> Retrouvez-moi sur Viadeo :
> http://www.viadeo.com/invitationpersonnelle/0023asu3wwgwpzx
>

-- 
    /kinkie
Received on Sat Aug 08 2009 - 13:54:29 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 10 2009 - 12:00:15 MDT