Dear All,
I am trying to run the following script on my hosted web space, but
when I do I get a 500 Server Error.
When I run the script on a command line on a separate server it works
perfectly. I have tried giving the file all sorts of permissions, but
it won't work. Other scripts (printing 'Hello, World', for example)
work fine with rwxr-xr-x permissions.
The script is:
#!/usr/bin/perl
use LWP::Simple;
$url = 'http://news.bbc.co.uk/';
getprint($url);
I have checked that LWP::Simple is installed on the server, but since
other scripts will run without a problem I am wondering if this is a
problem that only the system administrator can fix.
Comments and suggestions appreciated. Thanks in advance.
Matt Ashby
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
- Re: LWP::Simple script gives 500 error Matt Ashby
- Re: LWP::Simple script gives 500 error Rob Dixon
- Re: LWP::Simple script gives 500 error Octavian Rasnita
- Re: LWP::Simple script gives 500 error Iain 'Spoon' Truskett
- Re: LWP::Simple script gives 500 error Nigel Horne
