Forbid access to cache files

This commit is contained in:
Dmitriy Simushev 2015-03-20 13:24:18 +00:00
parent 0f44076e48
commit 57182b0589
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -13,6 +13,7 @@ src/mibew/files/avatar/*
# Do not index cache files
src/mibew/cache/*
!src/mibew/cache/.keep
!src/mibew/cache/.htaccess
# Do not index plugins
src/mibew/plugins/*

1
src/mibew/cache/.htaccess vendored Normal file
View File

@ -0,0 +1 @@
Deny from all