On Tue, Apr 2, 2013 at 6:56 AM, rahul bhola <rb1223334...@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-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to