I posted my question as a comment to another post, but didn't get a reply, so I figured I'd try as a standalone post.
Here's my structure:
- ~/www/gallery2/ (multisite codebase for G2)
- ~/www/bouldermountainfire/ (root for drupal = www.bouldermountainfire.org)
- ~/www/bouldermountainfire/sites/default/gallery2 (site install, not symlink)
I've turned on and off cleanurls in Drupal and rewrites in G2 per the documentation.
The gallery module keeps saying my G2 install is outside of the root directory! (it's not)
Your location settings are valid, but your Gallery2 is installed outside the Drupal root directory. It is highly advisable to move G2 into the Drupal folder or to create a symbolic link in the Drupal directory pointing to your G2 installation (see instructions on codex.gallery2.org).
URLs come out PAINFULLY mangled: http://www.bouldermountainfire.org/index.php/gallery/v/webcam2.jpg.html?...
(instead of: http://www.bouldermountainfire.org/gallery/v/webcam2.jpg.html)
- URL rewrite in G2 = "gallery/v/%PATH%" per the the instructions.
Here's the config settings in the drupal module:
- /site/default/gallery2/ = URL or URI (I previously tried just /gallery2 before I read the instructions carefully, the result was the same)
- ~/www/default/gallery2/ = file system path
Please check out my gallery at: www.bouldermountainfire.org/gallery and let me know what I can do to make this work.
Thanks,
Dave
PS: ~/www = /home/kabalnet/public_html/

Comments
~/www/gallery2/ (multisite
It is! As you stated above your Drupal root is at www/bouldermountainfire/ and your G2 codebase is at www/gallery2/. You should move the G2 codebase to www/bouldermountainfire/gallery2/. The location of your G2 multisite folder in sites/*/gallery2 is fine.
Many thanks for all the
Many thanks for all the advise and comments (both in comments sent to me from my website, via e-mail and comments here and on my other post (profix898, SpzToid, Lee Kelsey!).
Sorry, I should have been more descriptive. My Gallery2 codebase is used by FOUR different sites, each using a different CMS (Wordpress x 2, Joomla, Drupal = bouldermountainfire). Without breaking all the other sites, is it possible to configure the Gallery plugin for Drupal so that my codebase can live OUTSIDE of ~/www/bouldermountainfire (i.e., at ~/www/gallery2), and the subsite installation live anywhere (where's best?) within ~/www/bouldermountainfire (the root for my SINGLE site installation of Drupal)? Is there a way of specifying my configuration to the plugin in a way (direct URLs? soft-links?) that will make the gallery plugin happy? (i.e., there IS a way of specifying the location of the codebase directly through a URL = ~/www/gallery2). Let me know if I can keep things as they are for the other sites dependent on G2.
I know it may be an unusual situation, but my other G2 plugins seem to deal with separate codebase and "subsite", and are happy to function with rewrites, etc, as long as the subsite directory is within the root for that site, I was hoping to do the same with Drupal. I do understand that if I install ANOTHER G2 codebase under Drupal, that it will likely work fine, but that means two G2s to update and keep current, which entirely circumvents the joy of multisite G2.
If this turns out to be impossible with the current version, can I request it for the next update?
Thanks in advance!
Dave