Question
CF load file from invalid path
I have ColdFusion 8 over Apache 2 in Linux Gentoo. And i have
following problem.
I have virtualhost TestVhost, have 2 the same directory structures: first outside www-root which not acessable from browser, second inside which accessable from browser and ColdFusion.
Access denied for the first structure for ColdFusion, Read only for owner as me. I copy files from the first structures to the second (not symbol links, it's really copies). But sometimes i have problem, when ColdFusion tries to load from the fisrt directory structures but it haven't access so it generate a error. I have noticed, that this problem begins when CF haven't access in both directories (and it's trying first structure). When i change access for the second struct, CF continue trying to load first structure, which is wrong (other path, and outside www-accessing directories).
If i delete/rename file in second structure (in the first structure this file exists), CF not found file. If i delete/rename file in the first structure (and in the second this file exists without renaming), CF not found file too. CF found file if it be in the both directories' structures. But it loads from the first NOT WEB-ACCESSABLE directory.
After several restaring as CF as Apache (when file in the first dir's structure not accessable CF), it begins to work.
I'm confused because it's interesting problem but i don't know why it's doing this and how to solve problem.
I have virtualhost TestVhost, have 2 the same directory structures: first outside www-root which not acessable from browser, second inside which accessable from browser and ColdFusion.
Access denied for the first structure for ColdFusion, Read only for owner as me. I copy files from the first structures to the second (not symbol links, it's really copies). But sometimes i have problem, when ColdFusion tries to load from the fisrt directory structures but it haven't access so it generate a error. I have noticed, that this problem begins when CF haven't access in both directories (and it's trying first structure). When i change access for the second struct, CF continue trying to load first structure, which is wrong (other path, and outside www-accessing directories).
If i delete/rename file in second structure (in the first structure this file exists), CF not found file. If i delete/rename file in the first structure (and in the second this file exists without renaming), CF not found file too. CF found file if it be in the both directories' structures. But it loads from the first NOT WEB-ACCESSABLE directory.
After several restaring as CF as Apache (when file in the first dir's structure not accessable CF), it begins to work.
I'm confused because it's interesting problem but i don't know why it's doing this and how to solve problem.
