News for hackers. Stuff that matters.
Re:One in every 600 websites has .git exposed by TheDong on Sunday July 26, 2015 @08:04PM (#9952696)
Probably better to link to the stackoverflow you quite possibly copied this from so that people can see discussion / alternatives, etc: https://serverfault.com/questions/128069/how-do-i-prevent-ap...

See also the nginx question: https://stackoverflow.com/questions/2999353/how-do-you-hide-...

Note, if you actually did take it from the stackoverflow, you just infringed on someone's copyright; SO's user content is 'creative commons, attribution required'.

Edit: Thanks for adding the attribution, all clear with copyright now :)

Re:One in every 600 websites has .git exposed by userbinator on Sunday July 26, 2015 @08:27PM (#9952753)
Note, if you actually did take it from the stackoverflow, you just infringed on someone's copyright

Does a simple access rule, which I can't see there being many sane ways to express, meet the minimum level of creativity/originality to be eligible for copyright...?

Re:One in every 600 websites has .git exposed by morninj on Sunday July 26, 2015 @09:06PM (#9952866)
Probably not, but it depends on the court and the skill of the lawyers.
Re:One in every 600 websites has .git exposed by markwakeford on Sunday July 26, 2015 @08:08PM (#9952701)
I was busy editing it, thanks though.

edit: sounded wayyy too snarky lol.

[deleted]
Re:One in every 600 websites has .git exposed by lambda on Sunday July 26, 2015 @08:33PM (#9952772)
HN does not use standard Markdown. It uses a very simple markup language possibly inspired by Markdown, but with much more limited functionality.

On HN, only two spaces are necessary for code:

  example
And it only supports asterisks for italics, two blank lines for paragraphs, and turning URLs into links; it doesn't support any of the rest of Markdown.