[squid-users] Can I somehow use PHP scripting in ERROR files?

From: Daniël Mostertman <daniel@dont-contact.us>
Date: Sat, 7 Apr 2001 10:45:50 -0700

Hi all,

Is there any possibility that I could somehow use PHP in the ERROR
documents?

Like if someone tries to access a blocked site that it will open the
ERR_ACCESS_DENIED page,
or with authentication the ERR_CACHE_ACCESS_DENIED page, and that the first
line will be like:

<?php mail("%w","Someone requested a blocked site","%U"); ?>

Is it possible to make Squid PHP aware?

Or, alternatively, is it possible to make Squid send an e-mail to the
cache_mgr
whenever a user requests a blocked site and didn't pass the authentication
test?

Or, do I then have to use redirection programs?

TIA

// Daniël
Received on Sat Apr 07 2001 - 01:40:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:11 MST