Hi I am still getting this error despite having check and recheck my perl script.
In the error log it says file not found : 500.shtml
However the script actally works and creates a html file correctly the way it was intended to.
I have done all the usually checks - ascii mode, chmod 755, I am using CARP and strict and warnings.
Also the script resides in cgi-bin. It reads and writes to a directory off admin in publichtml. It works fine I just cant get rid of this error message.
It passes the perl -wc check on my desktop.
here is the start of the script:-
#!/usr/bin/perl
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use strict;
use warnings;
my (@items, @name, @image, @dump);
In the error log I get
[Sat Feb 13 18:30:31 2010] [error] [client 79.78.1.55] File does not exist: /home/inca/public_html/500.shtml
But the script works it read's and writes from two files and the output - the file it creates is clearly visible in the browser.
The only thing I havent messed with is the .htaccess file should I do something with this?
Thanks,( Maybe I missed something obvious here!)
ps. It just doesnt look pretty might have to just use I redirect but it wont let me get as far as printing html directly,but the read/write works fine.
In the error log it says file not found : 500.shtml
However the script actally works and creates a html file correctly the way it was intended to.
I have done all the usually checks - ascii mode, chmod 755, I am using CARP and strict and warnings.
Also the script resides in cgi-bin. It reads and writes to a directory off admin in publichtml. It works fine I just cant get rid of this error message.
It passes the perl -wc check on my desktop.
here is the start of the script:-
#!/usr/bin/perl
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use strict;
use warnings;
my (@items, @name, @image, @dump);
In the error log I get
[Sat Feb 13 18:30:31 2010] [error] [client 79.78.1.55] File does not exist: /home/inca/public_html/500.shtml
But the script works it read's and writes from two files and the output - the file it creates is clearly visible in the browser.
The only thing I havent messed with is the .htaccess file should I do something with this?
Thanks,( Maybe I missed something obvious here!)
ps. It just doesnt look pretty might have to just use I redirect but it wont let me get as far as printing html directly,but the read/write works fine.