deny access to logs and cache directory
Merge pull request #758 from ahilles107/protect_dirs

deny access to logs and cache directory