WWW Linux

Been working with my /var/www directory lately. Rather annoying how it wasn’t working for me. Anytime I tried to upload a file it didn’t want to do anything with it etc. Long story. So I ended up running the following commands:

$ mkdir ~/www
$ sudo mv /var/www /var/www-backup
$ sudo ln -s /home/user/www /var/www

Works like a charm!