• Resolved carryoncoding

    (@carryoncoding)


    Hi, I have a working production site that shares a large number of reference documents in a Memphis Documents library and works great!

    I want to copy the site to a alternate location to make a back up. The permissions for my uploads folder and /mdocs folder are 755 and all the files in mdocs are set to 644.

    My copying tool (MigrateDB-Pro) is able to copy all other contents of the /uploads folder without problem. However, it cannot copy the contents of uploads/mdocs. It is clear that although the permissions appear to be set correctly, the contents of mdocs are not publicly accessible. Is there an additional step I need to take because of some hidden protection?

    Thanks,
    Phil.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bhaldie

    (@bhaldie)

    yes there is… if you goto mdocs Options > Settings > .htaccess File Editor you see that the first line is Deny from all. that may cause issues with trying to copy files out of that directory. This .htaccess file is need to protect files against unwanted downloads.

    Thread Starter carryoncoding

    (@carryoncoding)

    Very many thanks for clarifying.
    So if I need to backup the site, is there a way to reduce the level of security provided by this setting? I guess temporarily deleting the line is one way, but it would be useful to have a method that is less manual.
    Thanks,
    Phil.

    Thread Starter carryoncoding

    (@carryoncoding)

    OK, this is now resolved.
    The following edit to .htaccess will allow the nominated server to pull the files across:

    order deny,allow
    deny from all
    allow from ##.##.##.##

    Where ##.##.##.## is the IP address of server you are pulling from.

    Thanks to Matt at Delicious Brains (authors of the brilliant MigrateDB Pro) for providing the fix.
    Kind regards,
    Phil.

    Plugin Author bhaldie

    (@bhaldie)

    glad you got it figured out ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘mDocs files not publicly accessible’ is closed to new replies.