Search squid archive

Re: How to change the timezone for Squid ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

I thought I could do it in squid.conf.

Do I need to modifiy each error one by one ?

I looked in errorpages.css and errorpages.css.default and I didn’t find a « %T ».

 

Thanks for your answer.

 

Sébastien

 

De : dweimer [mailto:dweimer@xxxxxxxxxxx]
Envoyé : 8 février 2016 11:28
À : Sebastien Boulianne <Sebastien.Boulianne@xxxxxx>
Cc : yvoinov@xxxxxxxxx; squid-users@xxxxxxxxxxxxxxxxxxxxx
Objet : Re: [squid-users] How to change the timezone for Squid ?

 

On 2016-02-08 10:07 am, Sebastien.Boulianne@xxxxxx 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@xxxxxxxxxxxxxxxxxxxxx] De la part de Yuri Voinov
Envoyé : 8 février 2016 11:05
À : squid-users@xxxxxxxxxxxxxxxxxxxxx
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@xxxxxx пишет:
>


      > 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@xxxxxxxxxxxxxxxxxxxxx


      > 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@xxxxxxxxxxxxxxxxxxxxx
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/

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux