Re:A collection of useful .htaccess snippets
by theblueprint on Monday February 09, 2015 @08:04AM
(#9020928)
PSA: Authorization snippets are based on Apache 2.2 config syntax. Care should be taken to review, update and test Authorization config when upgrading to Apache 2.4 (http://httpd.apache.org/docs/2.4/upgrading.html).
Re:A collection of useful .htaccess snippets
by DrStalker on Monday February 09, 2015 @03:53AM
(#9020250)
These snippets should all be fine to go straight into a directory block, so it's still a really good resource,
Re:A collection of useful .htaccess snippets
by tobltobs on Monday February 09, 2015 @09:43AM
(#9021339)
Are you sure this is true also for the Rewrite Rules?
From the docs (http://httpd.apache.org/docs/current/howto/htaccess.html):
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.