ftp access to web site hosting
I've set up an http server with multiple virtual sites on a SuSE Linux server. I've also enabled ftp. But how do you enable people to ftp to their particular site to upload and download files. Anything I have found either sets up an anonymous-type ftp site under /svr/ftp, or optionally, allows a user ftp access to their home directory. I'm rather new at this, but it just seems logical to set up the virtual sites home directories under /svr/www, but then how do you give various users access to just their site?
Is this isn't easily answered in this type of forum, does anyone know where I could read an online howto to answer my question?
Virtual ftp with proftpd
I use proftpd to do this.
For each folder, I add a virtual host:
UserAlias user_site ftp
UserPassword ftp crypted_pwd_here
# If you want to add a default dir for the user
# DefaultChdir htdocs
Give /svr/www/user_site/htdocs write rights for user ftp, and you're done!
Sounds fairly easy - unfortunately, SuSE does not come standard with proftpd. I downloaded and tried to install it, but the rpm had several failed dependencies. And those dependencies were not to be found with SuSE. Beyond that, my experiences haven't given me much hope for trying to track down the dependencies to make it work.
SuSE does have several other ftp's available, including Pure-ftpd, which I tried. I even thought I could set up virtual hosts like you suggested, but I haven't gotten it to work yet.
|All times are GMT -5. The time now is 12:10 AM.|