I have tried changing the location of the secure directory from /www (root) to /www/secure and copying all the files to this directory, but still the same problem.