Redirect to virtual server.

From: Benarson Behajaina <>
Date: Mon, 30 Mar 1998 19:17:59 +0200 (MET DST)

        Hi Squiders,

        I'm running Squid 1.1.20 (Linux 2.0.30),

I've tried the following redirector:

while (<>) {

Where is running Apache/1.2.4 and is the Apache non-IP Virtual Host
(i.e and use the same IP address,
but have different DocumentRoots).

Address: x1.x2.x3.x4
DocumentRoot: /xxx/swh

Address: x1.x2.x3.x4
DocumentRoot: /xxx/atm

So, if my request is
then my access.log :
891275403.029 272 TCP_MISS/304 135 GET - FIRST_UP_PARENT/ -
That's OK, but the page I've got is not the page I wanted,
i.e Squid sent me the page from instead

Is it possible to redirect a REQUEST to a non-IP virtual host ?


Received on Mon Mar 30 1998 - 09:31:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:29 MST