-7

Just ran across this Github repo:

https://github.com/phanan/htaccess

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.

12

We already have a nice resource for that particular problem. The real issues are that

  • No one who needs to, reads anything least of all documentation.
  • No one who needs to, uses search.
  • People would rather answer the question than close it as a duplicate
  • Duplicates you know exist are stupidly difficult to find.

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.

  • I agree with you on that. But giving the people pointers does not work well on SF because it becomes a deluge of comments. A lot of people answer when pointed to this nice resource for that particular problem is along the lines of "I saw that but MY problem is special and is not covered". It is of course covered but they don't have the pre-requisite to understand it or they are curses with one of today's man disease of the "quick fit pill". – ETL Feb 13 '15 at 14:41
  • 3
    @ETL They are the people who most need to learn how to do it for themselves. Give an answer that you know is correct and leads to a resolution with some effort on the OPS part, ignore the whingeing. Leave an answer - move on (possibly) harsh but the right thing to do to make in internet better. – Iain Feb 13 '15 at 14:44
  • 1
    I've always felt that sites like this should be in the business of fishing rods rather than fishes, so to speak. – Rob Moir Feb 15 '15 at 16:10
10

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 .htaccess files 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .