Mobile app version of vmapp.org
Login or Join
Smith883

: Set permissions for files uploaded to Apache's web directory via FTP on the Rapsberry Pi I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5. To upload files

@Smith883

Posted in: #Apache #Ftp #Linux

I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5. To upload files I set up vsftpd.

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 then changed it again to it's previous home.

FTP now sends me to /var/www, but whenever I upload files, there are now other problems.
Apache sends a 403 Forbidden every time unless I manually chmod the files inside /var/www uploaded via ftp.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme