Separate header access rules for Squid 3.0

This commit is contained in:
Jamie Cameron
2008-02-29 23:46:41 +00:00
parent a0e419cd74
commit 70cc021e65
8 changed files with 58 additions and 42 deletions

View File

@@ -13,6 +13,7 @@ $conf = &get_config();
if (!$in{'nouser'}) {
$in{'user'} || &error($text{'icache_ymcautrsa'});
@uinfo = getpwnam($in{'user'});
scalar(@uinfo) || &error($text{'icache_euser'});
@ginfo = getgrgid($uinfo[3]);
if ($squid_version < 2) {
$dir = { 'name' => 'cache_effective_user',