Wordpress woes [edit... success]
I have changed permalinks in wordpress to be pretty. What immediately resulted was a 403: Forbidden.
Well, what really happens when you change permalinks is that wordpress creates a .htaccess file to do some URL re-writing. But often apache security does not allow re-writes, due to FollowSymLinks not being enabled… Don’t ask.. The magic incantation is to add “Options +FollowSymLinks” to that wordpress generated .htaccess file, at the start preferebly.
Next problem, every time I so much as visit the settings page, it re-writes the .htaccess file.. Oh, and why can’t I enabled the option FollowSymLinks from my main apache conf in a directory block. No, it didn’t work. Much head scratching ensues.
edit…
At the top of the generated .htaccess file is a comment, it basically says that everything after that line is generated, don’t touch. The inference is that everything before is not. Oh well. I added the FollowSymLinks option to the parent folder, so that my other deployments will benefit.
Now that is done, the gallery works a treat. I have used an out of the box theme to get started, and began the process of uploading my photos.
Also there is a plugin for word press to link into gallery2. The integration is actually quite tight, much tighter than I need. I wanted a random image on the side bar, that links to the gallery. The gallery it links to is accessed via the wordpress URL, not the gallery URL. I suppose that is so that it can control things such as look and feel, and to integrate the authentication mechanism. It’s just that I didn’t need all of that.