LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2006, 11:01 AM   #1
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Rep: Reputation: 15
set up access to host a website per user


I have a basic box running fedora 2 that I plan on letting a few family members build a website on.

Apache is running on the machine and I can see it when I pull up the ip, but how do I make it so its user specific... such as my sister telnets in, makes a folder public_html and puts her webpages there so her address is http://servername/~sister
 
Old 01-10-2006, 12:08 PM   #2
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
Stolen gratuitously from here:

"To allow users to create a personal web-accessible directory called "public_html" in their home directories, you will need to uncomment the following lines in Apache's http.conf:
Code:
<Directory /home/*/public_html>
   AllowOverride FileInfo AuthConfig Limit
   Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
   <Limit GET POST OPTIONS PROPFIND>
      Order allow,deny
      Allow from all
   </Limit>
   <LimitExcept GET POST OPTIONS PROPFIND>
      Order deny,allow
      Deny from all
   </LimitExcept>
</Directory>
(You will need to modify the first line if users' home directories are not in /home.)"


As a side-note, when I installed Apache with apt-get, this feature was enabled by default (or, I think dpkg asked me if I wanted it and Yes was the default). YMMV.
 
  


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
Why can't I set user read access for mounted ntfs drives? sureshot324 Linux - Software 6 01-08-2006 11:42 PM
How to host website and e-mail from DSL? moosturdsoed25 Linux - Networking 4 06-05-2005 08:20 PM
How to host a website? Vodius Linux - Newbie 1 05-15-2005 05:39 PM
Free website host? Cyberian General 14 02-10-2005 01:09 AM
X Windows server security set back to host access on Slackware 9.1 Jerre Cope Slackware 0 10-15-2003 12:17 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration