Apache-FilteringProxy
view release on metacpan or search on metacpan
lib/Apache/FilteringProxy.pm view on Meta::CPAN
if (!($resource_domain = $r->dir_config("FilteringProxyResourceDomain"))) {
$resource_domain = $local_servername;
$r->warn("FilteringProxyResourceDomain not set, defaulting to servername '$local_servername'");
} else {
$resource_domain = lc($resource_domain);
$r->warn("FilteringProxyResourceDomain set to '$resource_domain'");
}
### XML CONFIGURATION
# get the modification time of the configuration file
# dev,ino,mode,nlink,uid,gid,rdev,size,atime,mtime,ctime,blksize,blocks
my @stat;
unless ((-r $config_file) and (@stat = stat($config_file))) {
$r->warn("could not stat '$config_file' ( FilteringProxyConfig )");
} else {
$r->warn("DEBUG: entering XML configuration");
my $mtime = $stat[9];
# only update our cached configuration if the config file has been modififed
if (!defined($Apache::FilteringProxy::config_modification) or
( run in 1.098 second using v1.01-cache-2.11-cpan-5735350b133 )