Re: problem with header

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

 



On Tue, Apr 2, 2013 at 6:56 AM, rahul bhola <rb1223334444@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[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