Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-24-2006, 05:56 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 16

Rep: Reputation: 0
creating home directory

how can i create the home directory for http and ftp.
Old 04-24-2006, 06:01 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Usually these are created for you when you install http or ftp software. On most distros the home directory for ftp is /var/ftp or /home/ftp. For http, this depends on the distro or method of installation so read your distros docs. Mine is /usr/local/apache2/htdocs because I always compile apache from source. You can change these directories if you wish, you would have to change the config settings for whatever ftp and http server you are using.
Old 04-24-2006, 06:03 AM   #3
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
For httpd and ftp you call it a root directory not home directory

By default [in redhat distro]
For httpd the root directory is

And for ftp it is available in /var dir [I dont remember the location]

To change the root directory you can edit the respective configuration files
/etc/httpd/conf/httpd.conf for Httpd
the config file for ftp.

Also remeber to change the ownership of the new root directories to the correspoding user [for httpd the user will be apache or nobody and for ftp the user will be ftp]



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
what is the meaninig of Automatically mount home directory in creating users options SAMASTAR Solaris / OpenSolaris 2 04-16-2006 08:44 PM
Creating new user gives empty /home directory rkfb Slackware 8 12-28-2005 11:17 AM
Creating a home partition CGameProgrammer Linux - Hardware 12 10-13-2004 03:02 AM
Creating a login for a directory Renaxgade Linux - Software 2 10-18-2003 12:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration