LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   change default directory for FTP server (https://www.linuxquestions.org/questions/linux-server-73/change-default-directory-for-ftp-server-696458/)

iinfi 01-11-2009 04:26 AM

change default directory for FTP server
 
hi
whn we install the necessary packages for ftp server we have to copy the necessary files to be hosted in /var/ftp/pub directory.
can we change this location to something else?
a NFS or GFS directory ??

similarly for an apache server the default directory is /var/www/virtual/
is it possible to change it?

thnaks

repo 01-11-2009 04:35 AM

which server are you using?

In proftpd you change the
DefaultRoot

iinfi 01-12-2009 10:41 AM

i m using vsftpd in RHEL5

repo 01-12-2009 11:57 AM

Did you even looked in the configuration file?

local_root=
anon_root=

iinfi 01-13-2009 08:52 AM

yes i did see it much later .. thanks for your input :)


All times are GMT -5. The time now is 02:33 PM.