apache2 CGI Perl config problems?
Running Mandrake 9.1, apache2.
I have a CGI Perl script that uses (from the LWP::Simple module) the 'get'
and 'head' commands to gather information about a website. It returns
content-type text/vnd.wap.wml but I don't think that's the problem (I've set
up the MIME types and get the same problem using text/html).
When I run the script from shell as a user or root, the 'get' and 'head'
commands work fine. However, when I access the script through a web
browser, although the 'get' still works, the 'head' call returns false,
meaning there was an error access the website. Does anyone know what's
going on? I'm pretty sure it's a problem with the server configuration, not
the modules, but I'm open to any suggestions. I have the same problem on a
Redhat 7.3 machine running apache 1.3.
I'd appreciate any help. Thank you! :-)
Mitchua
|