Ubuntu 14.04
Sponsored Link

Enable Userdir
2014/04/30
 
Enable userdir, users can create websites with this setting.
[1] Enable userdir module.
root@www:~#
a2enmod userdir

Enabling module userdir.
To activate the new configuration, you need to run:
  service apache2 restart

root@www:~#
/etc/init.d/apache2 restart

 * Restarting web server apache2
   ...done.
[2] Create a test page with a common user and access to it from any clients with web browser. It's OK if following page is shown.
ubuntu@www:~$
mkdir ~/public_html

ubuntu@www:~$
vi ~/public_html/index.html
<html>
<body>
<div style="width: 100%; font-size: 40px; font-weight: bold; text-align: center;">
UserDir Test Page
</div>
</body>
</html>
Matched Content
 
Tweet