HTTP & FTP Server New Linux box

Associate
Joined
26 Mar 2003
Posts
1,194
Location
UK
Hi guys,

I have got a new linux box running Suse 10.0 on. I am trying to setup an http server which I can browse from any client normal webpage style. but also allow me to log into the www directory via ftp and upload to it.

I have successfully setup apache2 and have a web page accessible via http.

I also have VSFTPD installed and running allowing me to get to a different directory via FTP, however I am confsued as to the permissions when trying to have the same directory for both services. Any ideas??

Many thanks.
 
Not familiar with the particular FTP software you're using, but usually there's an option to set the document root for the ftp in the config file. Otherwise you can edit the DocumentRoot in the apache config so that it's the same as where the ftp currently resides. If you do edit apache then make sure you change all of the references to the folder. Have a look in the config files for both, usually they're pretty self-explanitory.
 
Ok thanks I have found these references in both the ftp conf file and the apache one. I have changed them both. Which usergroup and user would you suggest I configure the directory with to have http read and ftp read & write.
 
Back
Top Bottom