<? /** * CPAINT (Cross-Platform Asynchronous INterface Toolkit) * * http://sf.net/projects/cpaint * * released under the terms of the GPL * see http://www.fsf.org/licensing/licenses/gpl.txt for details * * $Id$ * $Log$ * * Configuration file for backend scripts, including proxy * * @package CPAINT * @author Paul Sullivan <hide@address.com> * @author Dominique Stender <hide@address.com> * @copyright Copyright (c) 2005-2006 Paul Sullivan, Dominique Stender - http://sf.net/projects/cpaint * @version 2.0.2 */ //---- proxy settings ---------------------------------------------------------- $cpaint2_config["proxy.security.use_whitelist"] = true; // Use the whitelist for allowed URLs? //---- proxy security whitelist ------------------------------------------------ /* whitelist data should be added to the variable $cpaint2_proxy_whitelist[] example: $cpaint2_proxy_whitelist[] = "example.com/test.php"; - or - example: $cpaint2_proxy_whitelist[] = "example.com"; ** Omit http:// and https:// from the URL ** */ $cpaint2_proxy_whitelist[] = $_SERVER['HTTP_HOST']; // this server ?>