diff --git a/entrypoint.sh b/entrypoint.sh index 295f63a..da71452 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,6 +7,7 @@ hn=`hostname` sed -E -i -e "s/#ServerName.*/ServerName $hn:80 /g" /etc/httpd/conf/httpd.conf sed -E -i -e '//,/<\/Directory>/s/AllowOverride None/AllowOverride All/' /etc/httpd/conf/httpd.conf sed -E -i -e 's/DirectoryIndex (.*)$/DirectoryIndex index.php \1/g' /etc/httpd/conf/httpd.conf +chmod u+s /bin/ping chmod 753 /var/www/html/uploads # Create a fake mysqldump command to trigger a detection with