[Ilugc] how to make any html page expire ?

  • From: raja.mallik@xxxxxxxxxxx (Raja Mallik)
  • Date: Wed May 3 12:37:26 2006

Hi all,=20

I am trying to set timers for all web pages for certain time say 60 sec.

After that if I wish to go for any other reference page or the same
page, I should get a login prompt.=20

I have captured ethereal data from such design and found a few info
added before the HTML data as:

GET / HTTP/1.1
Host: 192.168.11.1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040510
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=3D0.9,text/plain=
;q=3D0.8,image/png,image/jpeg,image/gif;q=3D0.2,*/*;q=3D0.1
Accept-Language: en-us,en;q=3D0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7
Keep-Alive: 300
Connection: keep-alive
Authorization: Basic cm9vdDo=3D

HTTP/1.0 200 Ok
Server: micro_httpd
Date: Wed, 07 Jan 2004 18:28:56 GMT
Cache-Control: no-cache
Pragma: no-cache
Expires: 0
Content-Type: text/html
Connection: close

Can anybody explain what setup is required in Apache or Boa sever to
achieve this?=20

I am using Apache that comes along with Fedora 2 in P4 machine.

Look for help!

Regards
Raja

Other related posts: