proxy chaining to squid

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

 



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.

I have something like this:

NameVirtualHost *:80
Listen 80
<VirtualHost *:80>
ServerName default.com
ProxyPass / http://localhost:3128/
ProxyPassReverse / http://localhost:3128/
ProxyVia on
</VirtualHost>

<VirtualHost *:80>
ServerName myfomain.com
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>


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.

GET /urlrequested.html HTTP/1.1
Host: localhost:3128
...
Invalid Request

Any help on what I need to do to get this working appreciated.

David


Host: localhost:3128
 




[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