Skip to content

Commit

Permalink
0x17 Project. Web stack debugging #3
Browse files Browse the repository at this point in the history
Strace is your friend
  • Loading branch information
the1Riddle authored Jan 19, 2024
2 parents 63b1a04 + 1810dfa commit 00bfd86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 0x17-web_stack_debugging_3/0-strace_is_your_friend.pp
Original file line number Diff line number Diff line change
@@ -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'
}

0 comments on commit 00bfd86

Please sign in to comment.