Password protecting apps from console (via htpasswd)
I want to get this option in console to password protect my apps which can be done via creating htpasswd on the server. Will reduce the hassle :)
A very important option to have like in cpanel's Directory Protection module, but since already requested in 2015 and still not implemented in the Cloudways console, it looks like this will never be provided... :-(
Leonardo Quijano commented
I suggest it's not done via .htaccess, but server side, because .htaccess is sometimes deployed from Git in complex applications (such as Magento).
AdminCloudways (Admin, Cloudways) commented
It should be available as default on the server.
If for some reason it is not working then please raise a ticket with our support.
Proko Mountrichas commented
Looks like password protection with .htpasswd is not supported for custom PHP stack. When trying to add it in .htacces in my app I get error "Invalid command 'AuthGroupFile'..." which apparently has it's root in "authz_groupfile" not being enabled.