On Fri, 22 Aug 2003 15:22, you wrote:

What I am about to describe is not the solution you requested but is an easy 
solution to configure if you wish to allow users to set up their own web 
pages.

Go to you /etc/httpd/conf/commonhttpd.conf and check for the following 
directive.
--------------------------------------------------------------------------------------
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>
-------------------------------------------------------------------------------------
If it is present, create a subdirectory in their home directory called 
public_html. This directive is enabled by default on Mandrake 9.

If a user 'guy' has such a directory the content can be served by using 
the following url format

http://domain/~guy       -note the umulat.

Hope that helps

Cheers Ross Drummond

> I am setting up an internal web server on a rh8 machine.
> Is there a recommended way to build a site, in terms of:
>
> whether pages are stored in var/www/html;
> whether pages are stored elsewhere, with symbolic links
> the manner in which files are uploaded; ie do I create a user whose home
> directory is /var/www/html, and upload files to that directory using ftp?
>
> I wish to set this up so it is relatively simple for people to administer
> using the likes of frontpage.


Reply via email to