Nginx - Forbidden - RC5

1srael

Verified User
Joined
Apr 8, 2013
Messages
13
Hi all,
Please, can you guys, please, take a look into my error log?
Code:
2013/07/01 19:38:23 [error] 2693#0: *5 "/home/admin/domains/irabela.com/public_html/index.php" is forbidden (13: Permission denied), client: XXX.XX.XXX.44, server: irabela.com,$a.com, request: "GET / HTTP/1.1", host: "www.irabela.com"

2013/07/01 19:38:23 [error] 2693#0: *5 open() "/home/admin/domains/irabela.com/public_html/favicon.ico.gz" failed (13: Permission denied), client: XXX.XX.XXX.44, server: irabel$irabela.com, request: "GET /favicon.ico HTTP/1.1", host: "www.irabela.com"

2013/07/01 19:38:23 [error] 2693#0: *5 open() "/home/admin/domains/irabela.com/public_html/favicon.ico" failed (13: Permission denied), client: XXX.XX.XXX.44, server: irabela.c$bela.com, request: "GET /favicon.ico HTTP/1.1", host: "www.irabela.com"

Im trying the new new RC5 release with nginx+php-fpm 5.4.
Thank you so much !
 
Please post the output of:
Code:
ls -l /home/admin/domains/irabela.com/public_html/index.php
ls -l /home/admin/domains/irabela.com | grep public_html
ls -l /home/admin | grep domains
 
reply

Please post the output of:
Code:
ls -l /home/admin/domains/irabela.com/public_html/index.php
ls -l /home/admin/domains/irabela.com | grep public_html
ls -l /home/admin | grep domains


Code:
[root@private nginx]# htop
[root@private nginx]# ls -l /home/admin/domains/irabela.com/public_html/index.php
-rw-r--r-- 1 admin admin 6805 Apr 28 05:17 /home/admin/domains/irabela.com/public_html/index.php
[root@private nginx]# ls -l /home/admin/domains/irabela.com | grep public_html
drwxr-xr-x 8 admin admin 4096 Jul  1 18:57 public_html
[root@private nginx]# ls -l /home/admin | grep domains
drwxr-x--- 6 admin access 4096 Jul  1 18:44 domains
lrwxrwxrwx 1 admin admin    33 Jul  1 18:44 public_html -> ./domains/irabela.com/public_html
[root@private nginx]#
 
Please try the following, it should fix the problem:
Code:
[B]​[/B]usermod -G access nginx
 
reply.

Please try the following, it should fix the problem:
Code:
[B]​[/B]usermod -G access nginx

Code:
​usermod -G access nginx
Code:
service nginx restart

SOLVED !
Thank you so much !
 
Last edited:
Back
Top