Here is my problem. Sorry if the subject was discussed before, but I didn't find it. Also, sorry if the place for my question is not here.
I have a website on a server using Apache 2.04 and PHP 5. During website navigation, a script creates a .xml file with 755 rights and apache:apache owner. The problem is that this file created is not accessible from a .swf file neither from a different browser window - trying to access it directly by typing it's absolute path.
I discovered that changing owner to root:root, the .xml file became accessible in both situations. Trying to change owner or rights using PHP function, no changing happened.
Please help me and tell me what can I do in order to fix this problem. It is a PHP configuration?
Thank you in advance.