Fix apache error 403 forbidden on CentOs VPS

(Nov 29 2020 at 08:56am)

If you installed apache correctly on your CentOs vps and try typing your API address in a browser, you should be greeted with Apache's welcome page.

In my case recently, I got an error 403 forbidden message. I tried many fixes including attempting to reinstall apache without any luck. However I finally fixed the issue by running for following command in SSH:

sudo iptables - F

The above command will format IP table.

Hope this helps.


You may also Like:

Quick reply

add files