ivanovishado
Posts: 9
Joined: Mon Apr 18, 2016 5:19 am
Location: Mexico

403 - Forbidden Error

Thu Apr 21, 2016 6:54 am

Hi, I followed this tutorial: https://www.raspberrypi.org/documentati ... /apache.md to install Apache and PHP5 on my RPi, but whenever I access my localhost trough a web browser on my Pi or another computer on the same net I get the 403 error.

I have already tried with the change permissions thing, and it doesn't work.

User avatar
DougieLawson
Posts: 39296
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: 403 - Forbidden Error

Thu Apr 21, 2016 2:33 pm

What does /var/log/apache2/error.log tell you?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

ivanovishado
Posts: 9
Joined: Mon Apr 18, 2016 5:19 am
Location: Mexico

Re: 403 - Forbidden Error

Fri Apr 22, 2016 2:30 am

DougieLawson wrote:What does /var/log/apache2/error.log tell you?
Nothing. There's nothing in that file.

ivanovishado
Posts: 9
Joined: Mon Apr 18, 2016 5:19 am
Location: Mexico

Re: 403 - Forbidden Error

Fri Apr 22, 2016 7:11 am

This has been solved here: viewtopic.php?f=76&t=145355.

As it appears, I had another server running on my RPi at the same time I was trying to access Apache.

This server was 'lighttpd', I uninstalled it and the problem was solved.

I hope this helps someone in the future.

Return to “Troubleshooting”