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
proftpd and apache
Results 1 to 4 of 4

Thread: proftpd and apache

  1. #1

    proftpd and apache

    My html directory for apache is /var/www/html. I want to get a proftpd account that will let me login to /var/www/html. I was trying this awhile ago and never managed to get it working. I've tried many things like the user apache and a new user sharing the same home directory and lots of other failures. I was wondering what the best way to set this up would be.

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re: proftpd and apache

    What do you mean by proftpd account?? You mean a normal user account that you will use via FTP to update web pages?? If so, you can create a normal user account and change its home directory to "/var/www/html" in "/etc/passwd" or better yet, create a syslink folder in that proftpd user account to /var/www/html. For example, you have /var/www/html and your user account name is agar. Inside /home/agar, you want to create syslink "web" that when you browse it, it will go to /var/www/html. So you would do,
    Code:
    ln -s /var/www/html web.dir.name
    When you log in via FTP, SSH or whatever, browse to ~/web folder and you will be there at /var/www/html in no time.

    HTH ....

  3. #3

    Re: proftpd and apache

    Be sure to set the permissions properly so that whatever user you are using in ftp has access to /var/www/html

  4. #4

    Re: proftpd and apache

    ah that works perfectly

Similar Threads

  1. proftpd help
    By usaf in forum Redhat / Fedora
    Replies: 5
    Last Post: 04-19-2008, 01:05 PM
  2. New PET ::: ProFTPd on Ubuntu
    By Compunuts in forum Linux - General Topics
    Replies: 0
    Last Post: 03-11-2006, 07:09 AM
  3. Problem with Proftpd from WAN
    By Coral_Sea in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 06-13-2005, 07:28 PM
  4. proftpd
    By pinehead in forum Linux - General Topics
    Replies: 5
    Last Post: 07-27-2004, 06:41 PM
  5. proftpd
    By Kaiser_Sose in forum Linux - Hardware, Networking & Security
    Replies: 28
    Last Post: 01-22-2002, 01: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
  •