lpocorner.blogg.se

C icap reqmod
C icap reqmod








c icap reqmod

Loadable_modules /usr/local/lib/ecap_adapter_gzip.soĮcap_service gzip_service respmod_precache ecap://adaptation_access gzip_service allow gzipmimes

c icap reqmod

I.e, for example:Īcl gzipmimes rep_mime_type -i "/usr/local/squid/etc/acl.gzipmimes" Note: On some setups you may need to create symbolic link in Loadable_modules /usr/local/lib/ecap_clamav_adapter.soĮcap_service clamav_service_req reqmod_precache uri=ecap:///ecap/services/clamav?mode=REQMOD bypass=offĮcap_service clamav_service_resp respmod_precache uri=ecap:///ecap/services/clamav?mode=RESPMOD bypass=onĪdaptation_access clamav_service_req allow !bypass_scan_types_req allĪdaptation_access clamav_service_resp allow !bypass_scan_types_rep all 🔗 Squid Configuration FileĪcl bypass_scan_types_req req_mime_type -i ^text/Īcl bypass_scan_types_req req_mime_type -i ^application/x-javascriptĪcl bypass_scan_types_req req_mime_type -i ^application/x-shockwave-flashĪcl bypass_scan_types_req req_mime_type -i ^image/Īcl bypass_scan_types_req req_mime_type -i ^videoĪcl bypass_scan_types_req req_mime_type -i ^audioĪcl bypass_scan_types_req req_mime_type -i ^.*application\/x-mms-framed.*$Īcl bypass_scan_types_rep rep_mime_type -i ^text/Īcl bypass_scan_types_rep rep_mime_type -i ^application/x-javascriptĪcl bypass_scan_types_rep rep_mime_type -i ^application/x-shockwave-flashĪcl bypass_scan_types_rep rep_mime_type -i ^image/Īcl bypass_scan_types_rep rep_mime_type -i ^videoĪcl bypass_scan_types_rep rep_mime_type -i ^audioĪcl bypass_scan_types_rep rep_mime_type -i ^.*application\/x-mms-framed.*$ To src/Gadgets.h to avoid compilation error due to lack Version for interoperability with your Squid version and used

c icap reqmod

Note: To use adapter with 64-bit Squid, you need also to compileĬlamAV and libecap also with 64 bit. configure 'CXXFLAGS=-O3 -m64 -pipe' 'CFLAGS=-O3 -m64 -pipe' 'LDFLAGS=-L/usr/local/lib' PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/clamav/lib/pkgconfig 'CPPFLAGS=-I/usr/local/clamav/include -I/usr/include' 'LDFLAGS=-L/usr/local/lib -L/usr/local/clamav/lib/amd64' configure 'CXXFLAGS=-O3 -m32 -pipe' 'CFLAGS=-O3 -m32 -pipe' 'LDFLAGS=-L/usr/local/lib' PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/clamav/lib/pkgconfig 'CPPFLAGS=-I/usr/local/clamav/include -I/usr/include' 'LDFLAGS=-L/usr/local/lib -L/usr/local/clamav/lib'










C icap reqmod