Search squid archive

Re: Custom PAYLOAD for 404 webserver response

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

 



On 6/10/2015 1:17 p.m., SaRaVanAn wrote:
> Hi All,
> With the help of Squid I want to return a custom payload for 404 response
> returned from web server. I have configured below acl to achieve the same
> 
> acl denied_status_404 http_status 404
> deny_info  http://errorpage.com denied_status_404
> 
> with the above configuration squid is sending 302 redirection to client
> browser . But I want squid to retain the same http status code (404) when
> responds back.
> Basically I want to modify  only the payload of the webserver response with
> same 404 status code.
> I know this can be achieved in squid version 3.2. But our server is running
> with squid version 3.1.20 . Is there any way we can achieve this in squid
> 3.1?

For 3.1 this can only be done with ICAP filtering of the messages.

Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux