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
Prasit P wrote:
Hi guys,
I've built Apache 1.3.12 with mod_perl 1.21.
I would get permission denied message, if I use this perl script.
$remote = IO::Socket::INET->new( Proto => "tcp",
PeerAddr => 209.10.98.1,
PeerPort => 80,
);
print $remote "GET http://209.10.98.1/index.html
HTTP/1.0\n\n";
On Thu, 25 May 2000, Prasit P wrote:
Hi guys,
I've built Apache 1.3.12 with mod_perl 1.21.
try upgrading mod_perl, 1.22 has this change:
=item 1.22 - March 22, 2000
proxy support fixed wrt RFC2068, thanks to Benjamin Elijah
Griffin for the spot
Thank guys for your answer. I've just tried using Apache 1.3.12, and mod_perl
1.24, all downloaded today, but it's the same problem.
Anything that I can do with httpd.conf, to make it run find with mod_perl.
Regards,
--- Doug MacEachern [EMAIL PROTECTED] wrote:
On Thu, 25 May 2000,
On Thu, 25 May 2000, Prasit P wrote:
Thank guys for your answer. I've just tried using Apache 1.3.12, and mod_perl
1.24, all downloaded today, but it's the same problem.
seems that only works when you use http://hostname, both mod_proxy and
mod_perl use logic like so: