Question

Forbidden You don't have permission to access this resource. Help Needed.

Help Needed.

“Forbidden You don’t have permission to access this resource. Apache/2.4.41 (Ubuntu) Server at e15p3.harvardjoeapps.com Port 80”


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.

Hello, @jof6453

Would you mind sharing your Apache config and the virtual host for the domain name? You can try with the following syntax:

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html
    ServerName server_domain_name_or_IP
    <Directory /var/www/html/>
        AllowOverride All
    </Directory>

You can then save the Apache config, test for Syntax errors and restart:

  1. sudo apachectl configtest

If there are no Syntax errors, restart the service

  1. sudo systemctl restart apache2

Also, you can check this question which was previously asked in our community:

https://www.digitalocean.com/community/questions/forbidden-you-don-t-have-permissions-to-access-on-this-server

Hope that this helps! Regards, Alex