From ef1e8df00110a060f16c828d964ac74109eb07a4 Mon Sep 17 00:00:00 2001 From: Earl Ramirez Date: Tue, 24 Jul 2018 11:40:04 +0800 Subject: [PATCH] Disable file browsing (#5922) * Added cron to list of packages * Disable file browsing from the public directory --- Dockerfile | 1 + snipeit.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index acd69f5a3f..f13fa9ea61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ vim \ git \ cron \ mysql-client \ +cron \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* diff --git a/snipeit.sh b/snipeit.sh index 0a28e29407..48be3a9797 100755 --- a/snipeit.sh +++ b/snipeit.sh @@ -134,7 +134,7 @@ create_virtualhost () { echo " " echo " Allow From All" echo " AllowOverride All" - echo " Options +Indexes" + echo " Options -Indexes" echo " " echo "" echo " DocumentRoot $APP_PATH/public"