News for hackers. Stuff that matters.
Re:Don't publicly expose .git (2015) by mioelnir on Sunday June 11, 2017 @08:05PM (#14534499)
If I remember my Apache config right, the two examples are switched. The 2.4 config should be 'Require all denied' and the 'Order deny,allow' the old 2.2 syntax.
Re:Don't publicly expose .git (2015) by gehaxelt on Monday June 12, 2017 @08:23AM (#14536690)
Hi,

I just rechecked with [1] and you seem to be right.

I'll update the blogpost in a second. Thanks for the hint!

[1] https://httpd.apache.org/docs/current/upgrading.html