Author: Erwin J. van Eijk
Email: eijk@huygens.org
Web Page: http://www.huygens.org/~eijk
Date Submitted: Sat, 18 Apr, 1998
Status: New Entry
Releases: | all |
Platform: | all |
Category: | User Management |
Category Listing: | "HOW DO I INSTALL PERSONAL HOMEPAGES" |
I'm running an http server on our local network, and I want to give my users their own personal homepages. How should I configure the server to do so?
to setup your own web page on a *nix system, look in /etc/httpd/conf/srm.conf. Insert the following line if it doesn't already exist: UserDir public_html then each user can put up their own web page by creating a directory in their home directory called "public_html". The directory and the path leading to it must be publically readable. In that directory put a HTML file called index.html and make it publically readable as well. By doing so you disable the possibility that someone from the outside can list all files in the user's public_html directory. Do not forget to kill -HUP `cat /var/run/httpd.pid` or /etc/rc.d/init.d/httpd restart after you've reconfigured the server, otherwise the server won't recoginise the changes.
You can get more information on configuring apache http servers at the apache homepage.