Monthly Archives: December 2010

Serve web pages from your home directory in Ubuntu 10.04

This guide assumes that you have lamp installed already (which is super easy in Ubuntu). Enable the userdir mod $ cd /etc/apache2/mods-enabled $ sudo ln -s ../mods-available/userdir.conf $ sudo ln -s ../mods-available/userdir.load Enable php parsing from a user directory $ sudo nano /etc/apache2/mods-available/php5.conf Comment out this code: <IfModule mod_userdir.c> <Directory /home/*/public_html> php_admin_value engine Off </Directory> [...]

Posted in Musings | Tagged , , | Leave a comment

A fix for WP e-Commerce error: “The following directories are not writable”

If you get this error: The following directories are not writable: * /var/www/mysite/wp-content/uploads/wpsc/downloadables/ * /var/www/mysite/wp-content/uploads/wpsc/previews/ * /var/www/mysite/wp-content/uploads/wpsc/product_images/ * /var/www/mysite/wp-content/uploads/wpsc/product_images/thumbnails/ * /var/www/mysite/wp-content/uploads/wpsc/category_images/ * /var/www/mysite/wp-content/uploads/wpsc/upgrades/ You won’t be able to upload any images or files here. You will need to change the permissions on these directories to make them writable. When you click on “Products” in WP [...]

Posted in Solutions | Tagged , | 10 Comments