Ola Ricardo,

qual a mensagem de erro que voce esta tendo?

Olhando apenas o que voce mandou, parece tudo certo (apesar de eu
achar estranho voce ter um backendpool com apenas uma instancia).

Um abraco,

Fabiano Weimar


2008/1/31 Ricardo Brito do Nascimento <[EMAIL PROTECTED]>:
>
>
>
>
>
>
>  Bom dia Pessoal, conto com a ajuda de Vocês!!!!
>
>  Estou migrando um proxy reverso de um apache/cache para squid+CacheFu; e
> não consigo fazer o backendpool2 e backendpool3 funcionarem.
>
>  fiz a seguinte configuração:
>  squid.conf
>
>  acl zope_servers src 10.1.0.94 10.1.0.36
>  http_access allow manager localhost zope_servers
>  ###
>  acl in_backendpool dstdomain backendpool
>  ####
>  cache_peer 10.1.0.36 parent 8081 9081 name=client1-internet no-digest
> no-netdb-exchange round-robin
>  cache_peer_access client1-internet allow in_backendpool
>  cache_peer_access client1-internet deny all
>
>  ##
>  #############   Instancias em mount-point sobre Plone2.5.5
> ##################
>  ##
>  acl in_backendpool2 dstdomain backendpool2
>  #
>  cache_peer 10.1.0.94 parent 8180 9180 name=client1-mountpoint no-digest
> no-netdb-exchange round-robin
>  cache_peer_access client1-mountpoint allow in_backendpool2
>  cache_peer_access client1-mountpoint deny all
>
>  cache_peer 10.1.0.94 parent 8181 9181 name=client2-mountpoint no-digest
> no-netdb-exchange round-robin
>  cache_peer_access client2-mountpoint allow in_backendpool2
>  cache_peer_access client2-mountpoint deny all
>
>  ##########################   Instancias sobre Plone3.0.4
> ################################
>  ##
>  acl in_backendpool3 dstdomain backendpool3
>  #
>  cache_peer 10.1.0.94 parent 8280 9280 name=teste0 no-digest
> no-netdb-exchange round-robin
>  cache_peer_access teste0 allow in_backendpool3
>  cache_peer_access teste0 deny all
>
>  cache_peer 10.1.0.94 parent 8281 9281 name=teste1 no-digest
> no-netdb-exchange round-robin
>  cache_peer_access teste1 allow in_backendpool3
>  cache_peer_access teste1 deny all
>
>  squidRewrite:
>
>  ################# backendpool ##################################
>  #OK# (r'^http://teste(.*)',
> r'http://backendpool/VirtualHostBase/http/teste:80/VirtualHostRoot/\1',
> 'P,L'),
>  (r"^http://portos.teste/(.*)",
> r"http://backendpool/VirtualHostBase/http/portos.teste:80/se-portos/VirtualHostRoot/\1";,
> "L,P"),
>  (r'^http://icp.teste/(.*)',
> r'http://backendpool/VirtualHostBase/http/icp.teste:80/icp-brasil/VirtualHostRoot/\1',
> 'P,L'),
>  (r'^https://icp.teste/(.*)',
> r'http://backendpool/VirtualHostBase/https/icp.teste:80/icp-brasil/VirtualHostRoot/\1',
> 'P,L'),
>  (r'^http://softwarelivre.teste(.*)',
> r'http://backendpool/VirtualHostBase/http/softwarelivre.teste:80/softwarelivre/VirtualHostRoot/\1',
> 'P,L'),
>  (r'^http://spmulheres.teste(.*)',
>
> r'http://backendpool/VirtualHostBase/http/spmulheres.teste:80/VirtualHostRoot/forum-mulheres/\1',
> 'L,P'),
>
>
>  ####
>  ############# backendpool2 sobre Plone2.5.5 ####################
>  ####
>  ###   ####   ###   ####   ###   ####   ###   ####    ###   ####   ###
> ####
>  #----(r'http://www4.teste2/(.*)',
> r'http://backendpool2/VirtualHostBase/http/www4.teste2:80/VirtualHostRoot/\1',
> 'P,L'),
>
>  (r'^http://plone.teste2/(.*)',
>
> r'http://backendpool2/VirtualHostBase/http/plone.teste2:80/Plone/VirtualHostRoot/\1',
> 'P,L'),
>
>  ####
>  ############### backendpool3 sobre Plone 3.0.4 ##################
>  ####
>  ###   ####   ###   ####   ###   ####   ###   ####    ###   ####   ###
> ####
>
>  #(r"^http://teste1.teste3/(.*)",
> r"http://backendpool3/VirtualHostBase/http/teste1.teste3:80/teste1/VirtualHostRoot/\1";,
> "L,P"),
>
>
>  



-- 
Fabiano Weimar dos Santos (xiru)
Weimar Consultoria

Hospedagem Plone, Zope e Python
http://www.pytown.com

Responder a