We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51382
    • 53 Posts
    Hi,

    I have been using bluehost for the past 4 years, but due to their rising costs moved to google cloud. Through Bitnami, I installed modx. I ran a test on this about a year ago and had the same issue, but now am committed to google and have migrated my site.

    After I did the install, I've noticed that the ht.access and .htaccess files are locked (locked icons), so I can't rename ht.access and/or delete the default .htacess file.

    How do I unlock these files?

    Thanks,

    Software
    Apache (2.4.29)
    MODX (2.6.1pl)
    MySQL (5.7.20)
    OpenSSL (1.0.2n)
    PHP (7.0.26)
    phpMyAdmin (4.7.7)
    SQLite (3.7.15.1)

    This question has been answered by BobRay. See the first response.

    [ed. note: sa90y7sa last edited this post 8 years, 8 months ago.]
    • discuss.answer
      • 3749
      • 24,544 Posts
      I get the locked icon for .htaccess, but I'm still able to edit and save it in the Manager. I think I was also able to copy it, but I might mistaken.

      If you have cPanel access, you should be able to do anything you want there. You might also be able to use FTP to download the file, copy it to another file and upload that as a backup. Then you could edit the original locally and upload it.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 51382
        • 53 Posts
        Quote from: BobRay at Jan 27, 2018, 12:09 AM
        I get the locked icon for .htaccess, but I'm still able to edit and save it in the Manager. I think I was also able to copy it, but I might mistaken.

        If you have cPanel access, you should be able to do anything you want there. You might also be able to use FTP to download the file, copy it to another file and upload that as a backup. Then you could edit the original locally and upload it.

        Thanks for the suggestions Bob.
          • 51382
          • 53 Posts
          It wasn't anything modx related. The document below helped fix the ftp permissions.

          https://www.onepagezen.com/fix-ftp-permission-errors-google-cloud/