You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gary Colman <gc...@monzoon.net> on 2003/03/17 13:19:04 UTC

[users@httpd] transparent proxy using Host: HTTP field

Hi

I would like to use apache as a transparent proxy server (along with
some other ACLs which I have setup using mod_rewrite).

The problem is that it works when I telnet in and request using:


        GET HTTP://servername.domain/url HTTP/1.0


However it does not work when I (and most browsers) request as:

        GET /url HTTP/1.1
        Host: servername.domain



Is there a patch, a workaround, or some established and tested rewrite rules
that
I could deploy to get this to work ?

Thanks
  Gary


---------------------------------------------------------------------
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