This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: Re: Web Server From: Ramon Gandia <rfg@nook.net> Date: Sat, 19 Jun 1999 15:31:08 -0800 Rick Knebel wrote: > > Hi, > I have a small web site on my home machine. > I would like to have it accessible, so I can edit it as a user and not root. > Right now it can be accessed by http://rknebel.uplink.net. > I would like to have it something like this http://rknebel.uplink.net/~rknebel. > So i can edit it as user rknebel and not root. > i think I need to put a public_html directory somewhere but i am not sure. > > If there is a howto somewhere that would be great. On the computer in question, you should have a user named rknebel. You should have this: /home/rknebel/public_html/index.html the file "index.html" is the default web page name, and should be accessible as http://rknebel.uplink.net/~rknebel There is the issue of permissions: in /home/rknebel: drwxrwxr-x rknebel rknebel 1024 public_html and in /home/rknebel/~rknebel: -rw-rw-r-- rknebel rknebel 475 index.html Now go to the web site in question. If you get a message that access is forbidden or that you do not have permission to go there, then you need to make one more change (be root for this): in /etc/httpd/conf/access.conf ------------------------------------------------- # Controls who can get stuff from this server. order allow,deny allow from all ------------------------------------------------- ===