Yesterday, I finally got around to upgrading the department photo gallery from Gallery 1.5 to 2.0. I’d upgraded my own photo gallery about a month ago with no problems, and wasn’t expecting too many issues with this one.
Installation went fine, and importing the photos from the old version went fine. Can’t seem to get the URL rewriting to work though. It works fine in my personal gallery, but doesn’t work right in the department gallery. The mod_rewrite directives in the .htaccess file don’t seem to be getting processed or something. I’m suspecting some strange interaction/non-interaction with some directive in httpd.conf and the Gallery-generated .htaccess, but I haven’t quite figured it out yet. No doubt it’s probably something simple that I’m overlooking.
In the meantime, there’s another mystery: why is httpd always giving me SegFaults when an error occurs. It started happening after the upgrade to PHP 4.4.1? Yet another thing to dig into.
Update: Figured out the mod_rewrite oddness. Turned out to be an AllowOveride None directive that was messing things up. Once I moved the .htaccess contents into the main httpd.conf, everything started working properly. Knew it was something simple.
Discover more from Imablog
Subscribe to get the latest posts sent to your email.