Re: proxy chaining to squid

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

 



n Mon, Feb 1, 2010 at 9:08 AM, Martin Barry <marty@xxxxxxxxxx> wrote:
> $quoted_author = "David Cotter" ;
>>
>> I have two virtual hosts and a squid proxy running. I want to be able to use
>> the squid proxy on port 80 though it is running on 3128.
>
> Why? If you describe a bit more exactly what you are trying to achieve it
> would help us help you.
>
>
>> This does not work I get an error when I set my browser to use
>> 111.222.22.22:80 as proxy what I want is for apache to chain to squid.
>
> You almost certainly don't want to configure your browser to use Apache as a
> generic proxy.
>
>
>> GET /urlrequested.html HTTP/1.1
>>
>> Host: localhost:3128
>> ...
>> Invalid Request
>
> Well, it's an invalid request. Port numbers don't belong in host headers.
>

I have a server that runs a web site. I also want that server to host
a squid http proxy for a different project - but squid has to be
listening on port 80 and so does the web server. So What I am trying
do do is send the request appropriately based on domain name. If is is
xyz.com then send it to the web site otherwise  chain it to squid.
Thanks,
David

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux