Linux Server Diary

The trials and tribulations of a Linux newbie trying to setup a home server.

Saturday, April 28, 2007

Enabling User Web Directories

I wanted to enable user web directories on the LAMP server. This thread in the Ubuntu forums held the answer:
sudo a2enmod userdir

I was then prompted to reload the server config with:
sudo /etc/init.d/apache2 force-reload

Now, I can use http://server/~username to access files in the /home/username/public_html directory.


NOTE: I found that the apachectl command referenced in the 2.2 docs is apache2ctl on this system.

Labels:

0 Comments:

Post a Comment

<< Home