0

I'm trying to utilize squid : Optimising Web Delivery with Glype® Proxy Script.

include/init.php (Custom browser - set up defaults):

if ( ! isset($_SESSION['custom_browser']) ) {
        $_SESSION['custom_browser'] = array(
                'user_agent'    => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '',
                'referrer'              => 'real',
                'tunnel'                => '127.0.0.1',
                'tunnel_port'   => '3128',
                'tunnel_type'   => 'http',
        );
}

... yet, proxy works even if i stop squid (i.e. tunnel_* is NOT how you set it up).

anyone else dealt with it? I definitely remember it was working a while back ...

0

ahh, I actually found it))

browse.php (Prepare the REQUEST) (line 304):

$toSet[CURLOPT_PROXYPORT] = 3128;
$toSet[CURLOPT_PROXYTYPE] = "HTTP";
$toSet[CURLOPT_PROXY] = "127.0.0.1";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.