[squid-users] ecap adaper

Amos Jeffries squid3 at treenet.co.nz
Sat Jun 25 06:17:29 UTC 2016


On 25/06/2016 12:31 a.m., joe wrote:
> hi wen using ecap adapter
> ecap_enable on
> acl HTTP_STATUS_OK http_status 200
> loadable_modules /usr/local/lib/ecap_adapter_gzip.so
> ecap_service gzip_service respmod_precache ecap://www.vigos.com/ecap_gzip
> bypass=off
> adaptation_access gzip_service allow HTTP_STATUS_OK 
> wen the link has status 200   and its  POST not GET
> the adapeter or ecap or squid some how wen a link has POST and the adapeter
> change it to GET or its refusing POST i dont know exactly wats happening 

Please add "debug_options 11,2" to your squid.conf and see what happens
in the HTTP traffic. The log snippet below is only a third of the story.

the method you posted in yoru followup:
> 
> this preventing method dose not work
> acl nomethod method POST
> adaptation_access gzip_service allow HTTP_STATUS_OK !nomethod 
> 

Is supposed to be what you do. If thats not working there is possibly a
bug somewhere. Just have to find it.


Also, what Squid version are you using? (in the squid -v output)

Amos



More information about the squid-users mailing list