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 : www.findmcservers.net
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
@anilapu: Answered you here: <a href=“https://www.digitalocean.com/community/questions/403-forbidden-error-when-insatlling-rails-nginx-passenger”>https://www.digitalocean.com/community/questions/403-forbidden-error-when-insatlling-rails-nginx-passenger</a>.
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: domain.com.br, 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