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
acl denied_status_404 http_status 404 rep_mime_type -i ^text/html
deny_info http://errorpage.com denied_status_404
Now squid the squid is spoofing all the 404 responses irrespective of content type(html/_javascript_). I don't want squid to spoof the 404 response received from API payload.
Does squid classify the difference between a webpage and API payload?
Regards,
Saravanan N
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users