Search squid archive

Re: Confusing redirection behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amos,

On Fri, Mar 28, 2008 at 4:26 PM, Amos Jeffries wrote:
>  Because the ACL to which you have attached the deny_info is only doing
>  an allow. You need to use it to actually deny before the deny_info will
>  work.
>
>  Try:
>    http_access deny !lan

Okay, I'll give it ago. Is that instead of "http_access allow lan"?
It's a shame I didn't get this until after I'd left work; I'll have to
wait until Monday, I guess.

>  > url_rewrite_program to redirect to my login page. The interesting
>  > thing here is that if I redirect as follows:
>  > --
>  > print "302:http://192.168.60.254/cgi-bin/auth.cgi\n";
>  > --
>  > Then I get an error message which says "Error the requested URL could
>  > not be retrieved." as the root has been removed from the path.
>  > (see http://davec.uklinux.net/Squid3.0-HEAD.jpg )
>  >
>  > But, if I put a slash in front of the redirection URL:
>  > --
>  > print "302:/http://192.168.60.254\n";
>  > --
>  > then Squid attempts to redirect me to the originally requested URL
>  > with /http://192.168.60.254/ appended.
>  > (see http://davec.uklinux.net/Redirectionerror.jpg )

Do you have any idea what's happening as regards the
"url_rewrite_program" directive?

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux