]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
htaccess: prevent accessing resources not managed by SCM
authorVirtualTam <virtualtam@flibidi.net>
Sat, 20 Jan 2018 15:20:53 +0000 (16:20 +0100)
committerVirtualTam <virtualtam@flibidi.net>
Sun, 25 Mar 2018 17:41:39 +0000 (19:41 +0200)
commit4c2f51256f2c914a10c0c7aa59311c5862d2a480
tree7c6657c2998adbdd15c1fa0a70383fb8bfc9820b
parent06ca7c102ba058d99f19e614023c539dbdb58b36
htaccess: prevent accessing resources not managed by SCM

See:
- https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/
- https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing
- https://httpd.apache.org/docs/current/mod/mod_rewrite.html

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
.htaccess