Salta al contenuto

Lightsail Instance showing http 500 error

0

Firstly, I have not got a developer's background.

I have been using the lightsail wordpress account with no problem until recently. (Named 'P_WordPress-512MB-Seoul-1')

Recently, I am experiencing http error 500 and I have no idea when this started to happen.

I have tried various methods that was prevalent online.

  • I have checked apache2 error logs and found that I am experiencing [pagespeed:error] and so I have solved that.
  • and now I am experiencing [negotiation:error]
<the log is shown below> [Thu Aug 29 04:30:29.869957 2024] [mpm_event:notice] [pid *:tid *] AH00489: Apache/2.4.34 (Unix) OpenSSL/1.0.2o configured -- resuming normal operations [Thu Aug 29 04:30:29.869985 2024] [core:notice] [pid *:tid *] AH00094: Command line: '/opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf -D DISABLE_BANNER' [Thu Aug 29 04:30:45.984094 2024] [negotiation:error] [pid *:tid *] [client 45.156.129.52:44600] AH00687: Negotiation: discovered file(s) matching request: /opt/bitnami/apps/wordpress/htdocs/index.html (None could be negotiated). [Thu Aug 29 04:30:49.470005 2024] [negotiation:error] [pid *:tid *] [client 183.100.115.92:53487] AH00687: Negotiation: discovered file(s) matching request: /opt/bitnami/apps/wordpress/htdocs/index.html (None could be negotiated). [Thu Aug 29 04:35:56.753765 2024] [negotiation:error] [pid *:tid *] [client 183.100.115.92:53657] AH00687: Negotiation: discovered file(s) matching request: /opt/bitnami/apps/wordpress/htdocs/index.html (None could be negotiated). [Thu Aug 29 04:36:14.013788 2024] [negotiation:error] [pid *:tid *] [client 223.244.35.77:51988] AH00687: Negotiation: discovered file(s) matching request: /opt/bitnami/apps/wordpress/htdocs/index.html (None could be negotiated). [Thu Aug 29 04:36:28.744039 2024] [negotiation:error] [pid *:tid *] [client 183.100.115.92:53656] AH00687: Negotiation: discovered file(s) matching request: /opt/bitnami/apps/wordpress/htdocs/index.html (None could be negotiated).
  • I have tried to uninstall suspicious plugins too.

But my lightsail instance is not working.

Please help me to solve this proble.

posta un anno fa126 visualizzazioni
1 Risposta
0

Hello.

How about disabling content negotiation?
The settings in the stackoverflow answer below will disable it.
https://stackoverflow.com/questions/75314937/htaccess-mod-rewrite-working-only-with-html-not-with-my-php-files

It may also be helpful to configure the settings reported in the issue below.
https://github.com/lando/lando/issues/2390

ESPERTO
con risposta un anno fa
ESPERTO
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.