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";
However, the script would work fine if I use either one of these workarounds:
1. Change "print" line to
print $remote "GET index.html HTTP/1.0\n\n";
2. Remove the line, "Addmodule mod_perl.c", from httpd.conf (that's mean I
can't don't use mod_perl in the Apache)
Unfortunately, I need both mod_perl & my original script to work without the
error. Anybody know the solution, please help.
Regards,
Prasit
=====
============================================================
"God is REAL ...
unless previously declared as an INTEGER."
- anonymous
============================================================
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/