Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
VS-ftpd configuration options!
Results 1 to 6 of 6

Thread: VS-ftpd configuration options!

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question VS-ftpd configuration options!

    Hello!

    In vsftpd.conf file, we have an option "listen_address" which requires numeric ip-address. If i want to use the site name instead of ip-address what will be the option and how i should implement it?

    Thank you in advance !

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    It dosnt support it, it only supports specific listening ip addresses.
    From the FAQ:
    Q) Help! Does vsftpd do virtual hosting setups?
    A1) Yes. If you integrate vsftpd with xinetd, you can use xinetd to bind to
    several different IP addresses. For each IP address, get xinetd to launch
    vsftpd with a different config file. This way, you can get different behaviour
    per virtual address.
    A2) Alternatively, run as many copies as vsftpd as necessary, in standalone
    mode. Use "listen_address=x.x.x.x" to set the virtual IP.
    And the /usr/share/doc/vsftpd/EXAMPLE/VIRTUAL_HOSTS/README only mentiones IP based virtual hosts.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #3
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question

    Hello!

    Thank you for your reply.But the solution you have suggested don't solves the issue becoz at one ip _address i have created multiple sites.Now as the file reads the ip_address and not the site names, so for every site which is accessed through this address, there is one common home directory or you can say home page.So, this is not the correct solution.

    Each site has its different home directory, it should land on its home, but due to ip_address based configuartion files it only reads one common home directory for all the sites.

    Suggest me any solution which is based on site names and not the ip_addresses.

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Quote Originally Posted by honey bee
    But the solution you have suggested don't solves the issue becoz at one ip _address i have created multiple sites.
    FTP protocol doesn't allow to use name based virtual hosting. You can only be used as IP based. So if you have only one IP, then you will only be able to run one FTP.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    - The truely community run Linux/Floss forum !

    No IT BS !!

  5. #5
    I think your question is more dns related.

    If, for example:

    site1.com
    site2.com
    site3.com

    All resolve to your server then there shouldnt be any problem. The only problem would be that you would have to have unique users for each of the domains. "admin@site1.com" = "admin@site2.com" The best way to do that would be using a ftp server with an sql/ldap backend. Walkthrough
    That way you would not have to have shell accounts for anyone. In your case, I would also add a table to the database that includes the domain name in case "joe@site1.com" looses his password.

    Give read/write permissions only to the users home directory, in this case I assume that to be the root of their site.

    The walkthrough above also includes bandwidth limiting to prevent them from becoming uncontrolled porn/warez repositories.




    dan
    Last edited by flashingcurser; 04-11-2006 at 07:04 PM.

  6. #6
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Thanks a lot!

    Hello!

    Thanks a lot for your replies

    Regards!

Similar Threads

  1. wu-ftpd: users with /bin/false
    By honey bee in forum Linux - General Topics
    Replies: 0
    Last Post: 07-09-2007, 09:16 AM
  2. wu-ftpd account
    By jhayes in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-05-2002, 06:28 AM
  3. wu-ftpd
    By jhayes in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 12-02-2002, 12:17 PM
  4. wu ftpd
    By jhayes in forum Redhat / Fedora
    Replies: 4
    Last Post: 11-27-2002, 04:04 PM
  5. wu-ftpd
    By imported_LinuxGuy in forum Linux - General Topics
    Replies: 4
    Last Post: 06-23-2002, 04:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •