To enable mod_userdir, so your server's Apache httpd server will respond to requests like "http://www.yourserver.com/~someuser", use the a2enmod command, then restart Apache to pickup the change:

sudo a2enmod userdir
sudo /etc/init.d/apache2 restart