Re: pre-screening pages before served?

From: Date: Mon, 20 Jul 2009 19:58:22 +0000
Subject: Re: pre-screening pages before served?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-295611@lists.php.net to get a copy of this message
On Mon, Jul 20, 2009 at 12:30 PM, Per Jessen<per@computer.org> wrote: > Chris Payne wrote: > >> Hi everyone, >> >> Is it possible to have the system pre-screen a page before it is sent >> to a user?  What I mean is, if someone requests index.php could I have >> a script scan the file before I serves it? > > Yes, apache has an output filter that can be set up as the last stage > just before serving a page. > > > /Per > > -- > Per Jessen, Zürich (19.8°C) Thank you, i'll look into that this evening as it would solve some problems i've had. I want my system to check local copies of a page against a cache I have of the same page and if they are different it won't serve the page and will automatically send me a copy of the page via email and restore it to what it should be. A way of protecting against attacks. Just 1 stage but I want to be pro-active and always be ontop of things. Chris

« previous php.general (#295611) next »