Question
CFM files not found by browser
We are running ColdFusion MX 7 on a Solaris platform. The
version is 7,0,0,91690. We are using Apache for the web server. Let
me know if you need additional information.
We're having a very weird problem. I have searched these forums and found no one else with a similar complaint and so I hope someone could give us a hand with this.
In the normal process of editing a CFM page and then testing it in a browser, we randomly but consistantly find that some files gives a "File Not Found" 404 error. But the file actually exists on the server, the permissions are correct, it can be opened and viewed by the Unix command line and within Dreamweaver, and the URL to it is correct. This behaviour does not occur with any non-CFM file.
It is always the case that the file was working fine earlier. But once it occurs and we see the 404 error, no modification made to the file makes any difference except for renaming it to something different. Using the "touch" Unix command does not help and so it does not seem to be associated with date or time of the file.
In addition to the above weirdness; once we have renamed the problem file to something else and can then view it in a browser, duplicating that file and renaming the copy to the original name causes the duplicat to throw the 404 error and act exactly like the original. And so it doesn't seem to be directly associated with the file itself, but the name of the file.
As I mentioned above, this seems to appear randomly - we can't reproduce it. It is also not very widespread, it is only a few scattered files in completely different locations on the server. We have racked our brains and found no correlation between the problem files that could tie them together.
Any ideas or tips that would help us debug the behaviour would be very much appreciated. Thanks in advance for your help.
We're having a very weird problem. I have searched these forums and found no one else with a similar complaint and so I hope someone could give us a hand with this.
In the normal process of editing a CFM page and then testing it in a browser, we randomly but consistantly find that some files gives a "File Not Found" 404 error. But the file actually exists on the server, the permissions are correct, it can be opened and viewed by the Unix command line and within Dreamweaver, and the URL to it is correct. This behaviour does not occur with any non-CFM file.
It is always the case that the file was working fine earlier. But once it occurs and we see the 404 error, no modification made to the file makes any difference except for renaming it to something different. Using the "touch" Unix command does not help and so it does not seem to be associated with date or time of the file.
In addition to the above weirdness; once we have renamed the problem file to something else and can then view it in a browser, duplicating that file and renaming the copy to the original name causes the duplicat to throw the 404 error and act exactly like the original. And so it doesn't seem to be directly associated with the file itself, but the name of the file.
As I mentioned above, this seems to appear randomly - we can't reproduce it. It is also not very widespread, it is only a few scattered files in completely different locations on the server. We have racked our brains and found no correlation between the problem files that could tie them together.
Any ideas or tips that would help us debug the behaviour would be very much appreciated. Thanks in advance for your help.
