httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] problem with header
Date Tue, 02 Apr 2013 12:04:07 GMT
On Tue, Apr 2, 2013 at 6:56 AM, rahul bhola <rb1223334444@gmail.com> wrote:
> Hi i am using apache2 on liunx.
> i made up a module on php that sends header requests to the server.In
> between i realized that i needed to run some remote php scripts also on my
> server so i sent the header to the server as follows
> GET http://www.google.com/ HTTP/1.1
> but it is not working it is fetching the index page only
> is there any way i could call into the remote scripts.I am using standard
> sockets in php. It would be a great help if you could help me out with the
> header format
>

Apache will only fwd that to google.com if you have mod_proxy loaded
and enabled for forward proxy.  Otherwise, the domain is stripped off
and it lands in whatever default vhost handles port 80.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message