diff options
author | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-30 15:26:22 +0200 |
---|---|---|
committer | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-30 15:26:22 +0200 |
commit | bf995ed3b06f77503ebddfdd841e70656e7356d2 (patch) | |
tree | 46d1c8d3c97918cfc0d32d59c4b44bbc417120de | |
parent | 20eed5536e0e961e9a6b157b60b950e1491dee58 (diff) | |
download | pfsense-packages-bf995ed3b06f77503ebddfdd841e70656e7356d2.tar.gz pfsense-packages-bf995ed3b06f77503ebddfdd841e70656e7356d2.tar.bz2 pfsense-packages-bf995ed3b06f77503ebddfdd841e70656e7356d2.zip |
remove # - let the game gbegin
-rw-r--r-- | config/squid-reverse/squid.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index 5877ab58..43ce8bcd 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -1035,18 +1035,14 @@ function squid_resync_reverse() { $contents = base64_decode($settings['revrse_uri']); if(!empty($contents)) { -$conf .= "# -= TESTING AREA =-\n"; $defs = explode("\r\n", ($contents)); foreach ($defs as $def) { $cfg = explode(";",($def)); if (($cfg[0]) != '' && ($cfg[1]) != ''){ if($cfg[2] != '') - $conf .= "# acl {$cfg[0]} url_regex -i {$cfg[2]}/{$cfg[1]}.*$\n"; + $conf .= "acl {$cfg[0]} url_regex -i {$cfg[2]}/{$cfg[1]}.*$\n"; if($cfg[2] == '') - $conf .= "# acl {$cfg[0]} url_regex -i {$settings['reverse_external_fqdn']}/{$cfg[1]}.*$\n"; -// if($cfg[2] == 'HTTPS') -// $conf .= "login=PASS ssl sslflags=DONT_VERIFY_PEER front-end-https=auto "; -// $conf .= "name={$cfg[0]}\n"; + $conf .= "acl {$cfg[0]} url_regex -i {$settings['reverse_external_fqdn']}/{$cfg[1]}.*$\n"; }}} |