LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-24-2006, 05:56 AM   #1
jitheshmurali
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
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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
zulfilee
Member
 
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
/var/www/html

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
and
the config file for ftp.

Note:
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]

Cheers
Z
 
  


Reply


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


All times are GMT -5. The time now is 05:41 PM.

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