Failed to open .htaccess for writing
Whenever I try to protect a directory, I get this error:
Error: There was a problem creating the sub-domain. Htaccess::set_protect failed: Failed to open .htaccess for writing.
-
Check the owner and permissions of the htaccess file in public_html. It should be owned as the user ad not root or some other account user. And it should be 644 permissions minimum. 0 -
Hi @Stouf Agreed with @GOT it does indeed seem like there may be a permissions issue with the .htaccess. Please let us know if you were able to resolve the issue! Thanks! 0
Please sign in to leave a comment.
Comments
2 comments