with root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/html;
it does'nt work! firefox tells "500 Internal Server Error"
and in nginx.log I can read:
2016/02/29 10:06:45 [crit] 5146#0: *3 stat() "/home/ottaviane/Sviluppo/Progetti/HTML-PHP/www.ottaviane.it/www/index.html" failed (13: Permission denied), client: 127.0.0.1, server: _, request: "GET /index.html HTTP/1.1", host: "localhost"
but if I set root /usr/share/nginx/html;
it works. The two directory are equals.
if I give sudo groups ottaviane
the system tells ottaviane : ottaviane adm cdrom sudo dip www-data plugdev lpadmin sambashare
/home/ottaviane/Sviluppo/Progetti/HTML-PHP/html; proprietary is root:root
/usr/share/nginx/html; proprietary is also root:root
why it?
thanks, bye.
it does'nt work! firefox tells "500 Internal Server Error"
and in nginx.log I can read:
2016/02/29 10:06:45 [crit] 5146#0: *3 stat() "/home/ottaviane/Sviluppo/Progetti/HTML-PHP/www.ottaviane.it/www/index.html" failed (13: Permission denied), client: 127.0.0.1, server: _, request: "GET /index.html HTTP/1.1", host: "localhost"
but if I set root /usr/share/nginx/html;
it works. The two directory are equals.
if I give sudo groups ottaviane
the system tells ottaviane : ottaviane adm cdrom sudo dip www-data plugdev lpadmin sambashare
/home/ottaviane/Sviluppo/Progetti/HTML-PHP/html; proprietary is root:root
/usr/share/nginx/html; proprietary is also root:root
why it?
thanks, bye.