Search squid archive

Re: Fwd: Url redirection to ip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx
phone: 518-791-2697
home: 518-886-8012
JasonBronson@xxxxxxxxx
Web Designer and Programmer
Computer Hardware Repair and More


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux