Re: polipo, dns, and firefox

"Ciprian Dorin, Craciun" <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
On Fri, Jan 16, 2009 at 3:52 PM, Daniel Falk
<[email protected]> wrote:
> Ciprian Dorin, Craciun wrote:
>>
>> On Thu, Jan 15, 2009 at 7:40 PM, Juliusz Chroboczek
>> <[email protected]> wrote:
>>
>>>>>
>>>>> For what it's worth, I don't think it's such a bad idea to have the
>>>>> proxy
>>>>> attempt the search for you as well.  Someone would just have to add it
>>>>> to
>>>>> polipo as an optional feature.
>>>>>
>>>>
>>>>    Some help here?
>>>>
>>>
>>> I'll think about it.  What kind of user-interface do you have in mind?
>>> Invoking a Squid-style redirector, as with forbidden?
>>>
>>>                                       Juliusz
>>>
>>
>>    I'm afraid I'm not acquainted with Squit-like redirectors, but I
>> would have proposed a very simple solution, two variables:
>>    * dnsErrorRedirect -> boolean for enabling,
>>    * dnsErrorUrlPrefix -> string, for example http://en.wikipedia.org/
>>    And when the host is not found, a redirect page will be generated
>> with the URL prefix being the one given in the variable, and the
>> suffix, the host name (or keyword as Firefox calls it).
>>
>>    Ciprian Craciun.
>>
>
> I like this proposal.  Although you could say that only the second variable
> is needed.  (Not set means disabled.)  Also, not sure what you mean by
> redirect page.  Once again, I think using an HTTP header for the redirect is
> my preferred approach.  That may have been what you meant, I just wanted to
> clarify.

    Yes, I've meant a 300 family status code with redirection header.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.