Sameer Shinde wrote:
> Amos,
>
> I added up this line in my mywon.html file but it didn't worked.
> The line format is: "Generated %T by %h (%s)"
>
> I wanted to add the code in mywon.html file, so that whenever this page gets opened
> it will show me the following contents
>>> "Generated Tue, 16 Dec 2008 09:19:14 GMT by localhost (squid/3.0.STABLE1)"
>
>
Okay. How exactly are you configuring Squid to use it?
Amos
>
>
>
> ----------------------------------------
>> Date: Tue, 16 Dec 2008 22:56:52 +1300
>> From: squid3_at_treenet.co.nz
>> To: s2sameer_at_hotmail.com
>> CC: squid-users_at_squid-cache.org
>> Subject: Re: [squid-users] time format of error page
>>
>> Sameer Shinde wrote:
>>> Hi All,
>>>
>>> Whenever there is any error or any requested page does not get accessed, squid throws
>>> messages, with with there is last line saying like this,
>>>
>>> "Generated Tue, 16 Dec 2008 09:19:14 GMT by localhost (squid/3.0.STABLE1)"
>>>
>>> Can any one let me know what is the code to generate this line, as I want to add this
>>> in a custmized web-page which shows after restrictions.
>>> Also If you see, this line shows the time in GMT format, which I want to show in local time format.
>>> How to go about it?
>>> If you change the log time format, I'm in doubt, whether it will change this time or not, as It will
>>> only chnage time time format in the log, not of this page.
>>>
>>> Anyone, Any hints, welcome.
>> The line format is: "Generated %T by %h (%s)"
>>
>> The timestamp %T is an RFC 1123 standard time format. The HTTP RFC
>> requires it to be international with GMT label.
>>
>> For local time use %t which writes a time in common log format.
>>
>> Amos
>> --
>> Please be using
>> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
>> Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1
>
> _________________________________________________________________
> You live life online. So we put Windows on the web.
> http://clk.atdmt.com/MRT/go/127032869/direct/01/
-- Please be using Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10 Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1Received on Wed Dec 17 2008 - 00:07:40 MST
This archive was generated by hypermail 2.2.0 : Wed Dec 17 2008 - 12:00:03 MST