G0RGAR has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

My Perl script is generating a 500 Internal Server error, I added "use CGI::Carp qw(fatalsToBrowser);" and the output is:

file error - index.html: not foundDEAD

I can't find any information online on this error.
Has anybody seen this before? any ideas as to what might be causing it?

Replies are listed 'Best First'.
Re: file error - index.html: not foundDEAD
by Anonymous Monk on Aug 16, 2012 at 03:46 UTC
Re: file error - index.html: not foundDEAD
by aaron_baugher (Curate) on Aug 16, 2012 at 00:57 UTC

    It's pretty hard to guess without seeing your script, or at least the portion of it that relates to the error. Does your script at some point try to open or access that file?

    Aaron B.
    Available for small or large Perl jobs; see my home node.

Re: file error - index.html: not foundDEAD
by zentara (Cardinal) on Aug 16, 2012 at 09:08 UTC
    I'm just guessing at this, from your symptoms, but when you go to a root directory on an html server, there are default file names which get loaded by default when you access the url. For example, if you access http://www.whatever.com, the server actually looks for http://www.whatever.com/index.html. These filenames are set in the server configuration or in your .htaccess file. It seems like the index.html file is either non-existant or has wrong permissions on it.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh