Apache Forbidden 403 at Elementary OS

Asked

Viewed 251 times

0

After updating my PHP/APACHE I can no longer access my projects through the browser, keeps returning the Error Forbidden 403.

Information on the environment:

  • PHP 5.5.12-1+deb.sury.org~precise+1 (cli) (built: May 8 2014 21:14:40)
  • Server version: Apache/2.4.9 (Ubuntu)
  • Server built: Apr 1 2014 08:52:12**
  • You changed the Apache folder assignments?

  • have already checked in apache if the apache root is pointing to the same folder as it used to be?

2 answers

1

This looks like root folder permission problems, I had the same problems in Ubuntu and Mint linux.

Revise the permissions.

0

Look in the file /etc/apache2/apache2.conf for a line that reads

Require all denied

Check that this command is being used for the directory where your site is. If it is, switch to

Require all granted

Warning: do not edit this for all directories, only for directories where you know you want to give access permission.

If this is the problem, it must have been caused by updating the Apache configuration files. Note that when upgrading Apache (or any other similar software) the updater asks if it should replace the configuration files. If this question is asked, it is worth analyzing what changes occurred in the configuration file. Eventually it might be worth keeping the old configuration file. If you want to use the new file it is important to redo the settings that existed in the previous.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.