1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Solved my own issue... sharing it just in case anyone else encountered something like this.
So, about a month ago, I had added a small change to the htaccess.conf file in /opt/bitnami/apps/wordpress/conf to prevent a type of exploit I was seeing. The code I added is shown below:
# Added to prevent exploits
<Directory "/opt/bitnami/apps/wordpress/htdocs">
# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
deny from all
allow from 67.61.95.121
</Files>
</Direcory
>```
As you can see from the content above, the closing </Directory> tag was misspelled, causing Apache to not start.
The reason it took a month to manifest, is because I didn't restart Apache or the server after making this change (stupid, I know)
So, my advice. If you make a change, force your site to stop and restart and check it immediately. Don't wait a month until a random reboot introduces the error, as you won't know where it came from.
Just my .02 worth.
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전