Skip to main content

.htaccess is being overwritten by version control. Solutions to prevent this?

Comments

3 comments

  • cPanelMichael
    Hello @spaceman, We'll begin adding support for Git version control in cPanel & WHM version 72. You can read more about this under "Best Answer" in the comments section of the following feature request: Allow users to install websites from version control Let us know if you have any questions about how this will work. Thanks!
    0
  • RGFuelCells
    Are there any updates to this now? Wouldn't setting a version of a working .htaccess file, removing the name ".htaccess" file from your Git installation's tracking and then adding ".htaccess" to the .gitignore file work just like using Git and .gitignore anywhere else?
    0
  • cPanelAnthony
    Hello! I believe that would work; Git Version Control has been implemented in cPanel since the last response as well.
    0

Please sign in to leave a comment.