Line 88:
Line 88:
The number of second-level subdirectories to be created under each first-level cache directory; 256 Level-2
The number of second-level subdirectories to be created under each first-level cache directory; 256 Level-2
+
====Content Encoding Error ====
+
The problem here is squid that comes with SME Server 7.x is version 2.5 which has lack of HTTP/1.1 support. SME 8 has a later version of and solves this issue.
+
As a workaround you will need to create a few custom-templates and use squid's acl rules.
+
+
Create a file called 21BrokenHeader in the following directory (create if doesn't exist)
+
+
/etc/e-smith/templates-custom/etc/squid/squid.conf
+
+
Enter the following line in 21BrokenHeader
+
+
acl broken dstdomain www.maplin.co.uk
+
+
Save the file
+
+
If it does not already exist create a file called 40http_access75AllowLocal in the following directory
+
+
/etc/e-smith/templates-custom/etc/squid/squid.conf
+
+
Enter the following line in 40http_access75AllowLocal
+
+
header_access Accept-Encoding deny broken
+
+
Save and quit, next expand the files:
+
+
expand-template /etc/squid/squid.conf
+
+
and restart the squid service:
+
+
sv t /service/squid/
----
----
[[Category:Howto]]
[[Category:Howto]]
[[Category:Administration]]
[[Category:Administration]]