1
I upgraded Ubuntu 13.04 to 13.10, but when I went to check Apache using localhost/
I’m getting the following message:
Forbidden
You don’t have permission to access / on this server.
Apache/2.4.6 (Ubuntu) Server at localhost Port 80
1
I upgraded Ubuntu 13.04 to 13.10, but when I went to check Apache using localhost/
I’m getting the following message:
Forbidden
You don’t have permission to access / on this server.
Apache/2.4.6 (Ubuntu) Server at localhost Port 80
1
When it happened to me, I went to the archive:
/etc/apache2/conf-available/php5-fpm.conf
Replaces all the:
Order Deny,Allow
Deny from all
For:
Require all granted
And I deleted it in apache2.conf:
<Directory /> AllowOverride none Require all denied </Directory>
0
Friend, check the permissions in your apache configuration file. This depends on which service you use for local webserver, but it is a file with the .conf. extension. In packages like WAMP in the menu itself you get the path to edit it, you will need to find the line
Order Deny,Allow
And then provide the order to allow on localhost:
Allow from 127.0.0.1
NOTE: As I am not a Linux user I do not know tell you the location of the file.
I hope I’ve helped, any doubt I’m at your disposal.
0
Starting with version 2.4 of Apache, its root has been changed to /var/www/html/
.
1 - You can place your projects within /var/www/html/
instead of /var/www/
. And access them normally at localhost/seuProjeto
.
2 - Or you can change the root setting to /var/www/
modifying the Documentroot in the archive /etc/apache2/sites-available/000-default.conf
.
0
Try a chmod a+rw index.html
in your apache root directory and note the error log by the command tail -f /var/log/apache2/error.log
and log in if you can’t.
Browser other questions tagged php apache ubuntu
You are not signed in. Login or sign up in order to post.
Post your apache.conf on
/etc/apache2/apache2.conf
and also your website settings in /etc/apache2/sites-enabled/000-default.conf (000-default.conf may have another name), put an index.html file in the www folder and see if you can access it through localhost/ or localhost/index.html if you have any files .htaccess in your www folder show also.– Olimon F.