This feature of polipo to add urls to /etc/polipo/forbidden and then do
"something" when a user visits a matching url isn't working here on
polipo 1.1.1

cat /etc/polipo/forbidden
/foresee.*

grep forbid /etc/polipo/config
forbiddenUrl = http://www.eol.org
forbiddenRedirectCode = 301

Browse to example.com/foresee
This gets logged*:
Forbidden URL http://example.com/foresee

But the browser just hangs waiting on example.com.

Do I misunderstand this feature?


* I added do_log to polipo to get the forbidden url to print by adding
this to forbidden.c

 if(forbidden) {
        message = internAtomF("Forbidden URL %s", url->string);
        do_log(L_ERROR, "Forbidden URL %s\n", url->string);

------------------------------------------------------------------------------
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to