>
>At 09:30 PM 2/13/2001 +0000, you wrote:
>>Ben Ocean <[EMAIL PROTECTED]> said:
>>
>> > Hi;
>> >
>> > 1. I'm trying to enable my clients to ftp into their sites. I thought it
>> > would be as easy as chown-ing the web site at the doc root to the
>> > appropriate owner (whose passwd exists in his email account) and ftp-ing
>> > right into the box. Apparently not. What else do I need to do?
>>
>>Do the owners have homedirs on the system? If so, you could move their sites
>>to their homedirs, and reconfigure the httpd.conf file to point
>>there. That's
>>pretty much what I do...that way, users with multiple sites can access them
>>more easily.
>
>httpd.conf points to their own directories off the doc root. For example,
>the doc root is
>/apache/vhosts
>then the client would be like this:
>/apache/vhosts/myClient/
>and would be accessed like this:
>http://myClient.com/
So what? HTTPD and FTPD are two different programs that point at their
own data structures. Do not mix getting at web site stuff via http with
getting at ftp stuff via ftp.
You really need to set it up as suggested, i.e., having the web site stuff
under the user's home directory. That way ftp will automatically point
to their home directory upon ftp login, and therefore have access to
their web stuff.
I do not know of a way to configure ftp so that when a user ftps into the
system that the user will be pointing at their http data. If you config
ftpd to point at /apache/vhosts, all of your clients will be able to
get at the data of others. While you can change file permissions, there
is still that security hole. By having the web data under their home
area, no ftp user can get at the data directories of others.
But, there is a bright point. Do the following in the user's home
directory:
ln -s /apache/vhosts/myClient pub_html
When the user ftps into their home directory, they can then cd to pub_html
and get at their data. They won't be able to change directories into
other users.
Does this help?
MB
--
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys? Lisa: They must have
programmed it to eliminate the competition. Bart: You mean like
Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list