4 ms·
Probably better to link to the stackoverflow you quite possibly copied this from so that people can see discussion / alternatives, etc: https://serverfault.com/
by TheDong 11y ago
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-apache-from-serving-the-git-directory https://serverfault.com/questions/128069/how-do-i-prevent-ap...
See also the nginx question: https://stackoverflow.com/questions/2999353/how-do-you-hide-git-project-directories 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 :)
- markwakeford 11y agoI was busy editing it, thanks though. edit: sounded wayyy too snarky lol.
- deleted 11y ago[deleted]
- lambda 11y agoHN 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.
- userbinator 11y agoNote, 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...?
- morninj 11y agoProbably not, but it depends on the court and the skill of the lawyers.