squid config changes
Since we launched the eZ Components almost two years ago we've been using squid to accelerate our PEAR channel server . Until today that never caused any problems. As part of normal routines I updated all the Debian packages on this machine and with that came now a new version of Squid. Unfortunately, this new Squid (2.6) doesn't accept the old syntax (for Squid 2.5) for HTTP acceleration mode anymore and things stopped working. After some digging I found out that:
httpd_accel_host 127.0.0.1 httpd_accel_port 8080 httpd_accel_single_host on httpd_accel_uses_host_header on
should now be:
http_port 80 defaultsite=components.ez.no cache_peer 127.0.0.1 parent 8080 0 no-query originserver acl oursites dstdomain components.ez.no http_access allow oursites
Now it all works fine again.
Comments
That's the reason I only use stable branch ;)
Have you tried Varnish instead of squid?
No, I did not. Squid is doing its job well enough so I didn't spend time trying to learn Varnish. Maybe some time :-)
Life Line
In times like this, it's actually fairly useful to be able to read a fair amount of Danish.
Merge branch 'v2022'
Go with 2022.16
Merge branch 'v2022'
Merge branch 'v2022'
Go with 2022.15
Do a shallow clone
Merge branch 'v2022'
Update data to 2025c
Merge branch 'v2022'
Update script for current PHP versions
I hold the domains phpvikinger.{org,net,com}, which are expiring in three months.
I am not going to renew them as I have no use for them any more.
If you're interested, let me know? It'll cost you just the normal registration fees.
I walked 4.8km in 44m52s
I walked 2.1km in 20m46s
I walked 5.8km in 1h12m05s
Robin
They usually never sit still long enough close by for a good photo. But this little bird was perched on this branch for several minutes letting lots of people take photos of it. When I started taking photos, it looked directly at me and my camera — it was clearly posing!
I walked 10.5km in 1h48m41s
I hiked 16.2km in 3h23m19s
Updated a restaurant
Updated a restaurant
I walked 8.7km in 1h25m51s
Merged pull request #1056
Add metadata header to CSV file
RE: https://phpc.social/@Tideways/115859809842500892


Shortlink
This article has a short URL available: https://drck.me/scc-5nq