[squid-users] How to change the timezone for Squid ?

dweimer dweimer at dweimer.net
Mon Feb 8 16:28:27 UTC 2016


On 2016-02-08 10:07 am, Sebastien.Boulianne at cpu.ca wrote:

> Hi Yuri, 
> 
> Thanks for your support. 
> 
> I use Squid on a Oracle Linux 7. 
> 
> date 
> 
> Mon Feb  8 09:51:27 EST 2016 
> 
> My timezone look ok with the date command. 
> 
> Sébastien 
> 
> DE : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] DE LA PART DE Yuri Voinov
> ENVOYÉ : 8 février 2016 11:05
> À : squid-users at lists.squid-cache.org
> OBJET : Re: [squid-users] How to change the timezone for Squid ? 
> 
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA256 
> 
> I suggest this is not squid issue, but your OS's TZ settings.....
> 
> 08.02.16 22:03, Sebastien.Boulianne at cpu.ca пишет:
>> 
> 
>> Hi all,
> 
>>
> 
>>  
> 
>>
> 
>> When a user reach an error page, he got that :
> 
>>
> 
>> CacheHost: squid.cpu.ca
> 
>> ErrPage: ERR_CONNECT_FAIL
> 
>> Err: (110) Connection timed out
> 
>> _TimeStamp: Fri, 05 Feb 2016 22:54:08 GMT
> 
>> _ClientIP: xxx.xxx.xxx.xx
> 
>>
> 
>> The problem is; I am from qc.ca so the timezone should be 
> 
> GMT-5.
> 
>>
> 
>> How can I set the timezone in squid.conf ? Is it a way ?
> 
>>
> 
>>  
> 
>>
> 
>> Thanks you very much in advance.
> 
>>
> 
>>  
> 
>>
> 
>> Sébastien
> 
>>
> 
>>
> 
>>
> 
>> _______________________________________________
> 
>> squid-users mailing list
> 
>> squid-users at lists.squid-cache.org
> 
>> http://lists.squid-cache.org/listinfo/squid-users
> 
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v2 
> 
> iQEcBAEBCAAGBQJWuLykAAoJENNXIZxhPexGu5QH/2UZZgFhS5eT2ygAp2GvVr4Q 
> kA0dAWHNWVSvvvcAfJ24gu9K6+5zuP6+0SxZqqY5kL+zWTDFZZPz2URYc+Xa3yoC 
> 92+ElGBrJX9wvkcdciVkir6CGk3x+BS6Ft12aFEtrI398K+Fw15c60r3x+a++N6I 
> 8EtoKxGFH5GC3AmQAyJIpmLBf+wX+6Le8uYqlOGpSbNDyJHziAA0FFAiSCL3s7Q3 
> ejVIf9KM1+QaA+rKoU6qUPutOX0AfkGiVd4l98qgI5GWj7lvkW2Io9j0GpqFkrlu 
> VAXu3CsgL3V67gVMKXgv2/yzNysUyleUVcQcQJnuqH2KRGuAR2TIvPKy2TPrVFY= 
> =1nfG 
> -----END PGP SIGNATURE----- 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

It believe that it requires modifying the variable form %T to %t in the
error pages. 

See here for more information on customizing the errors. 

<http://wiki.squid-cache.org/Features/CustomErrors>

-- 
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160208/dfa992c4/attachment-0001.html>


More information about the squid-users mailing list