May 03, 2006
Setting up User Directories under Apache2 on Ubuntu
Whilst perusing this Windows to Ubuntu transition guide I discovered that I can turn on user directories quite easily. Of course the instructions are a little misleading and the top Google hit, this Ubuntu forum thread doesn't quite work for me either.
Under Dapper and with Apache2 installed I had to;
$ sudo a2enmod userdir $ sudo /etc/init.d/apache2 force-reload $ cd $ mkdir public_html
And now it's working like a charm. This change means that I can keep all of my files under my home directory and not pollute /var/www like I was doing.
Posted by Andy Todd at May 03, 2006 01:14 PM