Build a user called "tom" to experiment with. Use
adduser tom
You also need to have the apache service (httpd) running.
Make sure your httpd.conf file supports User public_html directories.
Look through the /etc/httpd/conf/httpd.conf
file for a line:
UserDir disable
When you find this line delete it, or put a # infront of it.
Now create a user called "tom", create a public_html directory
in tom's home directory, and create a file p1.html in the public_html.
The contents of this file should be:
<html>
<body>
<h1>TOM</h1>
<p>
Document body goes here.
</p>
</body>
</html>
The /home/tom, /home/tom/public_html, and /home/tom/public_html/p1.html
file must be readable (and for the directories readable and executable) by
other.