[squid-users] squid 3 as a reverse proxy

From: Laurikainen, Tuukka <t.laurikainen@dont-contact.us>
Date: Tue, 21 Jun 2005 15:35:52 +0200

Hi,

Experimenting with Squid 3, I've setup an accelerating Proxy for some
web servers/sites.

From squid.conf:

http_port squid_ip:80 vhost
https_port squid_ip:443 cert=/path/to/cert/cert.crt \
key=/path/to/key/key.key vhost
ssl_unclean_shutdown on
sslproxy_flags DONT_VERIFY_PEER
redirect_rewrites_host_header off
redirect_program /usr/bin/jesred
redirect_children 10

acl all src 0.0.0.0/0.0.0.0

http_reply_access allow all
http_access allow all

From jesred.rules:
regexi ^https://squid-ip/tst/(.*) http://server-ip/\1

This configuration gives the client the following error:
While trying to retrieve the URL: https://squid_ip/tst

The following error was encountered:

Unable to forward this request at this time.

And from the cache.log:

2005/06/21 15:32:29| Failed to select source for 'https://squid_ip/tst'
2005/06/21 15:32:29| always_direct = 0
2005/06/21 15:32:29| never_direct = 0
2005/06/21 15:32:29| timedout = 0

What's going wrong in here?

Regards,

tuukka
Received on Tue Jun 21 2005 - 07:35:59 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT