Forum Moderators: phranque

Message Too Old, No Replies

Help me please : FTP for VirtualHosts

         

latfood

9:53 pm on Aug 11, 2005 (gmt 0)

10+ Year Member



Hi , i have Linux server ( apache 2) , no any CP on it.

I know hot to create a VirtualHosts.

<VirtualHost 222.222.22.22:80>
DocumentRoot /web/radio.mywebsite.com
ServerName radio.mywebsite.com
</VirtualHost>

But how to create a FTP login for this domain name?
Can any one help me?
I did research in Google, and i didnt foud any usiful tips.

Plase help.

ChadSEO

10:10 pm on Aug 11, 2005 (gmt 0)

10+ Year Member



latfood,

The way that I have this setup on my server is:

  • Create system account for user.
  • Set home directory for user as the document root (ie /web/example.com
  • Configure FTP server to not allow users above their home directory, so they cannot access /web/, only /web/example.com
  • Disallow telnet/ssh access to user.

    Hope this helps!

    Chad

  •