> cvs writer account wrote:
>> Date:        Tuesday February 11, 2003 @ 11:43
>> Author:        cvsrw
>>
>> Update of /usr/local/cvs/mmbase/servlet
>> In directory UE450:/tmp/cvs-serv10274/src/org/mmbase/servlet
>>
>> Modified Files:
>> servscan.java
>> Log Message:
>> Nico: expire and last-modified headers
>
> Why has this been added/changed? There's nothing in the bugtracker, not
> project related.....

Hadn't put it in the bugtracker yet. I was planning to do that at the end
of the day, because I am looking at more (legacy) code of the vpro. which
were possible bugfixes.
This fix is for http last-modified and expires headers for scan pages.

Forgot to remove the pages.vpro.nl hack (the build process of mine
overwrites the mmbase source files with legacy)

Nico

> Especially the part below:
>
>> !                     if (sp.body.indexOf("<CACHE PAGE>") !=- 1) {
>> !
>> !                     // Start VPRO specific hack, not committed to
> CVS!!!
>> !                     // Redirect if browsing on WWW
>> !                     String host = sp.req.getServerName();
>> !                     if (host.equals("www.vpro.nl") ||
> host.equals("3voor12.vpro.nl") || host.equals("bieslog.vpro.nl")) {
>> !                             res.setStatus(302,"OK");
>> !
> res.setHeader("Location","http://pages.vpro.nl"; + req_line);
>> !                             return true;
>> !                     }
>> !                     // End VPRO specific hack, not committed to
> CVS!!
>
> Gerard
>
>








Reply via email to