Skip to content

Commit

Permalink
Merge pull request #43 from redhatrises/set_ping_perms
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises authored May 30, 2024
2 parents 81ed4d3 + fbad048 commit f552b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "\/var\/www\/html">/,/<\/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
Expand Down

0 comments on commit f552b0c

Please sign in to comment.