To find out what is going on you must check your web server's logs and your CGI script's logs if it has its own. If there is a proxy server between your web browser and web server, you will also have to check the logs on your proxy server.
If your script is producing correct HTML as you say then presumably the problem is with the browser accessing the files. In this case, you should find records in your web server's access log or proxy server logs that record the attempt to access the files, with some status other than 200 and a corresponding record in your web server's error log indicating the cause of the failure, which is likely that permission is denied. If you don't find these records, then it is likely that either your HTML is not correct or your web server is not logging adequately - check your web server's documentation for guidance on how to set up its logs or talk with your web server administrator.
If it is your CGI script that is unable to access the files, it should be producing error messages. If not, then you need to improve your script to test that operations complete successfully and produce error messages when they fail to do so. Depending on how you produce your error messages, they may appear in the browser (e.g. if you use CGI::Carp with qw(fatalsToBrowser)) in your web server's error logs (e.g. if you write error messages to STDERR) or in your scripts error logs if it has its own.
In reply to Re: File Not Found
by ig
in thread File Not Found
by Loerps
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |