Question

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

  • Posted on July 19, 2014
  • pest93Asked by pest93

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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