Hi,
Thanks Henrik for the pointer, I have it working but I'm unsure if it's configured correctly.
First I added cache_peer virtual parent 80 3130 originserver and http_port 80 vhost to the conf file.
But I get this error:
The following error was encountered:
* Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
* The cache administrator does not allow this cache to make direct connections to origin servers, and
* All configured parent caches are currently unreachable.
If I add:
acl local-servers dstdomain .mydomain.com
always_direct allow local-servers
It works fine.
Can someone verify if it's the correct way to configure the reverse proxy in version 2.6?
Thank you,
Jon
-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: Monday, July 03, 2006 5:25 PM
To: Jon
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] httpd_accel in Squid 2.6.STABLE1 problem
mån 2006-07-03 klockan 16:44 -0400 skrev Jon:
> Then I check the FAQ and followed this link
> http://wiki.squid-cache.org/SquidFaq/ReverseProxy to read more about
> how to set it up. It says to use the options httpd_accel_host and
> httpd_accel_port but they're not valid options when I start Squid, it gives me an error.
>
> 2006/07/03 16:20:13| parseConfigFile: line 2967 unrecognized:
> 'httpd_accel_host virtual'
> 2006/07/03 16:20:13| parseConfigFile: line 2968 unrecognized:
> 'httpd_accel_port 80'
>
> I didn't have any problems configuring it in 2.5.STABLE14 release.
> Further searching the squid.conf for the term "httpd_accel" returns
> nothing except the above option.
Things have changed a bit. See the Squid-2.6 release notes. (yes, there is release notes...)
Regards
Henrik
Received on Wed Jul 05 2006 - 17:44:19 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT