1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 9 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 10 Monaten
- AWS OFFICIALAktualisiert vor einem Jahr