Just ran across this Github repo:
Nice collection of common things people ask about.
Just thought of sharing, could be useful to answer/close a lot of the rewrite questions which seems like no one want to answer anymore.
We already have a nice resource for that particular problem. The real issues are that
Personally I think that we should stop spoon feeding people people and start acting like the senior admins that these people are clearly lacking. Instead of giving people 'the code' answers we should provide pointers or ideas and make people work it out for themselves with nudges in the right direction. This would at least have the benefit of making the internet better s it will weed out the truly clueless and the cargocultists.
Most people who use .htaccess and ask about it on ServerFault should not be using .htaccess in the first place as that is an end-user solution never intended for administrators:
You should avoid using .htaccess files completely if you have access to httpd main server config file. Using
.htaccessfiles slows down your Apache http server. Any directive that you can include in a .htaccess file is better set in a Directory block, as it will have the same effect with better performance.
Source: Apache manual
But since most people who publish their configurations appear to be cargo cult programmers keen on copying .htaccess files blindly without understanding the reasons.