WordPress Multi User – Dec 01 Snapshot

This is the “Fiche Naoi” release! Lots of changes this time. Symlinks are not required any more. Derek Ditch did 99% of the work in moving blogs from wp-blogs to wp-content/blogs/ with only a minor cleanup by myself, and there are other bug fixes from the WordPress core too.
Due to the number of changes you should be extra careful with this release. It worked for me on a clean install, but it’ll require an extra step to upgrade – you’ll need to move the wp-inst/wp-blogs directory to wp-inst/wp-content/blogs
I haven’t done an upgrade either so YMMV!
Go take a look at the download page for links and more details.
Later Update the htaccess.dist in the root directory and add the following line at line 15:
RewriteRule ^(.*)/wp-content/sitetemplates/(.*) BASE/wp-inst/wp-content/sitetemplates/$2 [L]
That fixes the images in the theme selector. Thanks Per for finding that!

PHP Shm Caching

Matt points to a PHP script that uses shm memory to cache data.
I rather use the filesystem to cache data – disk access is an order of magnitude slower than memory accesses but the operating system is generally clever about caching filesystem reads in memory. I would presume that the algorithms used are more complex than can be practically achieved by a PHP script too.
AFAIR, Apache has problems with Shm segments too although that could be something I remember from long ago!

Massage and Acupuncture – relieve the stress!

I only picked up the last few moments of Paul McKenna’s interview on TodayFM, but right at the end he suggested methods of massage and tapping acupuncture points to relieve stress. I did a quick search and found a few interesting sites. Here’s one picked at random..
I’m well aware that massage relaxes oneself but these are very specific points on the body that can be tapped for different effects!

WPMU – No Symlinks!

WordPressMU uses symlinks to do the multi-blog thing. Blogs names are linked to in a “blogs” directory (avoids having the root directory writeable by the webserver!) which makes life easier on me writing mod_rewrite rules for various reasons.
Unfortunately, that requirement means that PHP has to be able to symlink directories which isn’t possible all the time due to security settings on servers. Therefore, here’s two htaccess.dist files that you can drop into your WPMU installation, then run your installation again (delete the existing .htaccess files)
Put this htacess.dist in the root directory: http://blogs.linux.ie/download/htaccess.dist
(If you’ve downloaded this file already, grab it again. I updated it so wp-login.php works, and wp-images show in the backend!)

Rename this and copy it to wp-inst/htaccess.dist: http://blogs.linux.ie/download/wp-inst-htaccess.dist

Delete the existing .htaccess and wp-inst/.htaccess and the install will run when you visit the root URL of your blog. You can delete the “blogs” directory too if you like! (Make a backup first though!)