Forum Moderators: phranque
If you have created the .htaccess yourself, you know what you're doing and are just updating it, overwriting is fine.
Here is an example of a white space issue that will cause a 500 lockout on most Apache servers:
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/3.0 (compatible)$ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/3\.0\ \(compatible\)$ [NC,OR]
Here is a code snippet that had solid pipes in my .htaccess, but had them changed to broken pipes by the Forum:
RewriteCond %{HTTP_USER_AGENT} Cowbot¦Downloader¦httrack¦larbin¦NaverRobot¦QuepasaCreep¦Siphon [NC,OR]
Wiz
If I can access my site, and everything works as far as the changes that were made, then I can safely delete the SAVE version. If something is broken, it's a quick fix to revert back to the SAVE version.
Another reason I use this procedure is because I dynamically add bans to my htaccess, and I wouldn't want to overwrite any of those :)
Yes, you can crash your site by overwriting htaccess (at least I can) but a good plan will prevent a disaster.