Owncloud is redirecting with 302 on external folders

hello my friends ,
i have a folder named , XFiles , seperated from owncloud ( in owncloud root )
i have an index.html in XFiles , for test .
when i want to go in Xfiles from url , owncloud redirect me to login page with 302 ,
domain.com/XFiles -> is redirects to ----> domain.com/login

what is your idea?