Thanks for the reply, I have already edited the error message but still could not work on the Squid time.   You said I should use the correct time zone to display the correct local time.   What command should I issue from my (linux) shell prompt to get the correct time zone?  (Sorry, I'm also a newbie to Linux but is beginning to love it).

I tried from prompt

#  /usr/lib/zoneinfo/localtime

instead it gave me an error message "localtime: command not found"

tried even

# sh /usr/lib/zoneinfo/localtime

but had a message "localtime: cannot execute binary file"

What's wrong with my commands?   File is there however.  It is:

lrwxrwxrwx    1 root      root        22 Feb  6 16:38 localtime -> ../../../etc/localtime

Please help ...

P.S.  My local time right now is GMT + 8  (Thu Apr  8 20:47:40 GMT +8 1999).
 

Thanks,

Joel

Marc van Selm wrote:

At 01:57 PM 4/6/99 +0800, Joel Taqueban wrote:
>I'm a little confused on the way Squid generates time.  This  I noticed
when >access is being denied for URL's during disallowed times.  Sample of
>requested URL Error:

[...]

>I'm particularly interested in the time generated by squid (on red mark).
My >Linux local time is GMT + 8  (Tue Apr  6 12:24:40 GMT +8 1999).
>Shouldn't the squid time be Tue, 06 Apr 1999 04:24:40 GMT  instead ?
That >is, it should be my local time less 8 hours to get the GMT time
(since Squid >displays Zulu time instead of my local time)?

First your system clock should be set to GMT and you should use the correct
time zone to display the correct local time. I expect if you sync the time
on your machine to a NTP-server you'll see you were not running the correct
time in GMT and the correct time zone. You have to start digging into your
OS config I think...

>Also, would it be possible to change the message 'your service provider'
(the >one with the green mark)  with another text from the Access Denied
message ?

In the etc dir you'll find a directory with all the error-pages. You can
change them anyway you like.

Appreciate your kind reply,

Joel
 
 

---------------------------------------------------------------------
Marc van Selm
NATO C3 Agency
Communication Systems Division, A-Branch
Tel: +31 70 3142454
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Private: [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.cistron.nl/~selm

Reply via email to