403 Forbidden

  • Posted September 28, 2013

Hello i just got all my stuff with my website all setup then when i uploaded all my files it gave me a 403 Forbidden Error when i try to connect to the website. It says i don’t have access to the / command.

Please help me fix this

Website :

Lemme know if you need any more information


Submit an 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.

I am also getting same problem. <br>When i ran grep -ri DocumentRoot /etc/httpd <br>I got /etc/httpd: No such file or directory <br>My app is located at /home/uvarsity <br>index file is not located in /home/uvarsity/public

@Arthur: Do you have an index file in /var/www/my_app/public?

I installed everything right but when I access my ip (domain) the message <br>403 forbidden. Anyone know what this is? <br>nginx appears in the log: <br> <br>03/10/2013 15:23:44 [error] 5129 # 0: * 1 directory index of “/ var / www / my_app / public /” is forbidden, client: IP, server:, request: “GET / HTTP/1.0”, host: “IP”

Do you have an index file? What’s the output of this command? <br> <br><pre>grep -ri DocumentRoot /etc/httpd</pre>

I could be a permissions problem, in that your webserver’s root directory is not visible to the public.

Im also running Centos BTW