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 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",by ottaviane - How to...
ok it's all ok. now I need to change my root directory for my web proj. infact this is part of my /etc/nginx/sites-enabled/default file server { listen 80; listen [::]:80 default_server ipv6only=on; #root /usr/share/nginx/html; root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/html; index index.php index.html index.htm; # Make siteby ottaviane - How to...
this is my /etc/nginx/sites-enabled/default file server { listen 80; server_name localhost; # fast cgi support include /etc/nginx/fcgiwrap.conf; location / { root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/www.ottaviane.it/www; index index.php; } error_page 500 502 503by ottaviane - How to...
hello, I installed nginx in my ubuntu machine, php and fcgiwrap. I made many modifies to config files to resolv many issues (403, 404, 502) and now when I open "localhost/index.php" the error message is "file not found". with "localhost/index.html" it works. with tail -f /var/log/nginx/error.log this is the error: 2016/02/25 18:00:53 1082#0: *4 FastCby ottaviane - How to...
![]() |
![]() |
![]() |
![]() |
|