httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Barry <ma...@supine.com>
Subject Re: [users@httpd] proxy chaining to squid
Date Mon, 01 Feb 2010 09:08:28 GMT
$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.

cheers
Marty

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message