Re: [squid-users] Fwd: Url redirection to ip

From: jason bronson <jasonbronson_at_gmail.com>
Date: Wed, 16 Jul 2008 15:16:52 -0400

im using this

   1567 acl new urlpath_regex ^/data.php
   1568 acl test urlpath_regex ^/data_dev.php
   1569
   1570 cache_peer_access 10.108.50.32 allow test
   1571 cache_peer_access 10.108.50.33 allow new
   1572
   1573
   1574 cache_peer 10.108.50.33 parent 80 0 name=uat no-query
no-digest originserver
   1575 cache_peer 10.108.50.32 parent 80 0 name=test no-query
no-digest originserver

yet on config reload I get
 No cache_peer '10.108.50.33'
 No cache_peer '10.108.50.32'

but as you see its in the configuration file?
I tried searching the details on google for cache_peer_access and
understanding it but i haven't found a tutorial which makes sense to
me....in layman terms what cache_peer_access does and what cache_peer
does?

On Wed, Jul 16, 2008 at 3:03 PM, Henrik Nordstrom
<henrik_at_henriknordstrom.net> wrote:
> acl new urlpath_regex ^/login/new
> acl test urlpath_regex ^/login/test
>
> cache_peer_access server_a allow test
> cache_peer_access server_b allow new
>
> or alternatively
>
> cache_peer_access server_a deny new
> cache_peer_access server_b allow new
>
> Regards
> Henrik
>
> On ons, 2008-07-16 at 14:58 -0400, jason bronson wrote:
>> could you give me an example?
>>
>>
>> On Tue, Jul 15, 2008 at 2:55 PM, Henrik Nordstrom
>> <henrik_at_henriknordstrom.net> wrote:
>> > On m�n, 2008-07-14 at 16:31 -0400, jason bronson wrote:
>> >> Is it possible to redirect based on a URL path in squid example
>> >>
>> >> I have
>> >> 63.45.45.45/login/test
>> >> 63.45.45.45/login/new
>> >>
>> >> 63.45.45.45/login/test --> 10.108.111.34
>> >> 63.45.45.45/login/new --> 10.108.18.254
>> >
>> > Yes, by using url_regex acls in cache_peer_access.
>> >
>> > Regards
>> > Henrik
>> >
>> >
>>
>>
>>
>
>

-- 
Thanks
Contact Information
skype: jbronson_ny
yahoo: advancedonsite
aim: advancedonsite
msn: advancedonsite_at_hotmail.com
phone: 518-791-2697
home: 518-886-8012
JasonBronson_at_gmail.com
Web Designer and Programmer
Computer Hardware Repair and More
Received on Wed Jul 16 2008 - 19:17:01 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 17 2008 - 12:00:03 MDT