Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-10-2006, 11:01 AM   #1
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
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
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:
<Directory /home/*/public_html>
   AllowOverride FileInfo AuthConfig Limit
   Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
      Order allow,deny
      Allow from all
      Order deny,allow
      Deny from all
(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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 PM.

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