Apache2 and FTP
- by Jo Colina
I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5, and to upload files i set up vsftpd.
The thing is that the ftp connection sent me to my pi user home directory, instead of /var/www . So i changed Pi home directory to /var/www and changed it again to it's previous home. FTP now sends me to /var/www but whenever I upload files other rights are null.
(Apache sends a 403 Forbidden every time unless I manually chmod the files inside /var/www uploaded via ftp)
Does anyuone know how to fix this?
Thanks!