Apache2 and FTP
Posted
by
Jo Colina
on Pro Webmasters
See other posts from Pro Webmasters
or by Jo Colina
Published on 2014-08-20T16:33:09Z
Indexed on
2014/08/20
16:36 UTC
Read the original article
Hit count: 275
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!
© Pro Webmasters or respective owner