You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/06/01 20:51:55 UTC
Re: GET html page - permission denied
On Thu, 25 May 2000, Prasit P wrote:
> By the way, i can access "http://209.10.98.1/index.html" using internet
> browser, but not the perl socket.
because the browser doesn't include http://x.x.x.x in the http request,
unless you are configured to use an http proxy.
> > > > > print $remote "GET http://209.10.98.1/index.html HTTP/1.0\n\n";
change that to "GET /index.html HTTP/1.0\n\n", which is the same as your
browser would send.