View Single Post
  #1   (View Single Post)  
Old 14th January 2013
ershiba ershiba is offline
Loading, please wait...
 
Join Date: Dec 2012
Posts: 34
Default setting up ftp to allow /var/www/htdocs

hi all,
i started the built-in ftpd_flags="-D" in /etc/rc.conf.local

if i use ftp in, i could write in /home/oem only (my user id is oem)

what is the best security practice that i should do in order to write to /var/www/htdocs ?

i am doing for web development, i would code the php scripts in my windoze machine and upload it using ftp client and run test it on browser,

just want to confirm, is vsftpd a better tools for such situation?

or, i should do the following,

$ cd /var/www/htdocs
$ sudo ln -s ../../../../home/oem/website-abc.com website-abc.com

thanks in advance.

a little bit update
Quote:
$ cd /var/www/htdocs
$ sudo ln -s ../../../../home/oem/website-abc.com website-abc.com
doesn't seem to works,

Last edited by ershiba; 14th January 2013 at 09:13 AM.
Reply With Quote