From 1810dfa9866bad95c65eec08c3a2b786912cc092 Mon Sep 17 00:00:00 2001 From: Elvis Otieno <125451537+the1Riddle@users.noreply.github.com> Date: Fri, 19 Jan 2024 22:32:34 +0300 Subject: [PATCH] Strace is your friend --- 0x17-web_stack_debugging_3/0-strace_is_your_friend.pp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 0x17-web_stack_debugging_3/0-strace_is_your_friend.pp diff --git a/0x17-web_stack_debugging_3/0-strace_is_your_friend.pp b/0x17-web_stack_debugging_3/0-strace_is_your_friend.pp new file mode 100644 index 0000000..a97c1a0 --- /dev/null +++ b/0x17-web_stack_debugging_3/0-strace_is_your_friend.pp @@ -0,0 +1,5 @@ +# Using strace to find out why Apache is returning a 500 error and fix it. +exec {'replace': + provider => shell, + command => 'sed -i "s/phpp/php/g" /var/www/html/wp-settings.php' +}