151 reputation
13
bio website thunderguy.com/semicolon
location Auckland, New Zealand
age
visits member for 3 years, 5 months
seen Mar 9 at 9:14

Twitter: @bnnt
UX Consultant with a focus on front-end web technologies such as HTML, CSS and JavaScript. Also very big on Java and PHP with dollops of other technologies thrown in. But all this technical wizardry is worthless if nobody wants to use the application -- hence the UX angle.


Mar
9
awarded  Editor
Mar
9
revised How do I prevent apache from serving the .git directory?
grammar
Mar
8
awarded  Necromancer
Oct
5
awarded  Teacher
Aug
3
comment How do I prevent apache from serving the .git directory?
If you're worried that RewriteEngine might be off, just put RewriteEngine On before your RewriteRule. But anyhow it is tautological and redundant because the simpler RedirectMatch suffices on its own. Though even that could be simplified. Basically I am recommending my answer instead. :)
Aug
1
comment How do I prevent apache from serving the .git directory?
Why have both rules? The simpler RedirectMatch suffices on its own. (Also, the regexes don't seem quite right -- why the plus on the end?)
Aug
1
answered How do I prevent apache from serving the .git directory?
Oct
22
awarded  Supporter