Re: Multiple hosts defined for Accelerator???

From: SO Kwok Tsun <ktso@dont-contact.us>
Date: Sat, 26 Apr 1997 09:33:02 +0800 (WST)

According to TBRIGLIA.US.ORACLE.COM's mail...
>
> Hi So,
>
>
> Thanks for the reply!
>
> If I understand you correctly, you only need to add the one TAG;
>
>
> httpd_accel virtual 81 ?
>
>
>
> I would assume that this means that any HTTP request that comes into port 80
> (the port Squid is listening to) will automatically be forwarded to the http
> server regardless of the hostname or ip address? It will then be the
> responsibility of the HTTP server to decide if it serves for that address/URL?
>
> I would assume then that no matter how many virtual hosts your webs server is
> supporting you would only need the single TAG that covers all your virtual
> hosts? Or one per virtual host you are supporting?

Yes, one tag only:

httpd_accel virtual 81

provided that each virtual host has its own ip address and they are on
the same machine where squid is running.

I have not tried it. Try it and tell us your result. ;-)

So K T, CUHK
Received on Fri Apr 25 1997 - 19:05:45 MDT

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