Report this

What is the reason for this report?

How I can sovle "Forbidden You don't have permission to access / on this server" error?

Posted on July 19, 2014

Hey. I wanted configure Apache and Nginx for working Ghost blog. For do it, I used this DigitalOcean article . When I changed sudo nano /etc/apache2/ports.conf I get Forbidden error. I tried o return file content, but problem remained.

Please help me.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Do you have an .htaccess file in the directory /home/webserver/? If not, check your /etc/apache2/apache2.conf Somewhere in your configuration you seem to have set:

Options -Indexes

You need to change that to:

Options +Indexes

Do you have an index file in your DocumentRoot? What are the last few lines of Apache’s error log?

sudo tail /var/log/apache2/error.log

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.