403 Forbidden

Posted September 28, 2013 10.2k views
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

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.

Submit an Answer
7 answers
Im also running Centos BTW
I could be a permissions problem, in that your webserver's root directory is not visible to the public.
Do you have an index file? What's the output of this command?

grep -ri DocumentRoot /etc/httpd
I installed everything right but when I access my ip (domain) the message
403 forbidden. Anyone know what this is?
nginx appears in the log:

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"
@Arthur: Do you have an index file in /var/www/my_app/public?
I am also getting same problem.
When i ran grep -ri DocumentRoot /etc/httpd
I got /etc/httpd: No such file or directory
My app is located at /home/uvarsity
index file is not located in /home/uvarsity/public