congthanhunica I get error "No input file specified." when i change ROOT in config file. I set chmod 0777 and www-data:www-data for new ROOT. I use PI , My New Root in hard drive external. Thank you
congthanhunica jond1 chmod 0777 -R /home/usb300/web/example.com/htdocs chmod -R www-data:www-data /home/usb300/web/example.com root@raspberrypi:/home# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 30G 23G 5.6G 81% / devtmpfs 1.8G 0 1.8G 0% /dev tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 2.0G 121M 1.8G 7% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/mmcblk0p1 253M 53M 200M 21% /boot tmpfs 391M 0 391M 0% /run/user/1000 thank you
jond1 Run cd /var/wwwusb300/web/example.com/htdocs ls -la and share output You're positive it should be example.com and not the domain you have specified in the include line below it?
congthanhunica jond1 root@raspberrypi:/home/usb300/web/example.com/htdocs# ls index.php It cannot read php file.