Re: [squid-users] URL Based forwarding on HTTPS connections ?

From: Tristan Linnenbank <[email protected]>
Date: Tue, 05 Sep 2006 12:47:56 +0200

Hi Frans,

you can use an url_regex acl expression matching your urls:

acl citrixurl url_regex http://webaccess.domain.nl/Citrix
acl exchangeurl url_regex http://webaccess.domain.nl/Exchange

cache_peer citrix.peer.org 3128 0 etc
cache_peer exchange.peer.org 3128 0 etc

cache_peer_access citrix.peer.org allow citrixurl
cache_peer_access citrix.peer.org deny all
cache_peer_access exchange.peer.org allow exchangeurl
cache_peer_access exchange.peer.org deny all

This is not completely correct code, but should give you a start for
searching the squid.conf documentation.

Frans Haarman wrote:
> Hello,
>
> I am trying to forward URL's to differnt servers. Both servers have
> the same SSL Certificate
> but have to host differnt websites:
> https://webaccess.domain.nl/Citrix and
https://webaccess,domain.nl/Exchange
>
> I wonder if his is possible ? I tried writing a simple redirector, but
> it seems to redirect the
> clients. I think what I want is differnt cache_peer based on the URL.
>
> If possible somehow I'd love to hear!
> Regards,
> Frans
>

-- 
Tristan Linnenbank
Frans Haarman wrote:
> Hello,
> 
> I am trying to forward URL's to differnt servers. Both servers have
> the same SSL Certificate
> but have to host differnt websites:
> https://webaccess.domain.nl/Citrix and https://webaccess,domain.nl/Exchange
> 
> I wonder if his is possible ? I tried writing a simple redirector, but
> it seems to redirect the
> clients. I think what I want is differnt cache_peer based on the URL.
> 
> If possible somehow I'd love to hear!
> Regards,
> Frans
> 
-- 
Tristan Linnenbank
Hyves / Startphone Ltd
Herengracht 252
1016 BV Amsterdam
tel. 06-10810969
msn. tristanlinnenbank@hotmail.com
Received on Tue Sep 05 2006 - 04:48:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT