Specifically, without changing the httpd.conf line to "Allow Options FileInfo" for the gallery ibay, gallery has to use "long urls" instead of /myalbumname.
Specifically, here is what the .htaccess of Gallery looks like:
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
Options +FollowSymLinks
RewriteEngine On
RewriteBase /gallery/
RewriteRule ^([^\.\?/]+)/([0-9]+)$ /gallery/view_photo.php?set_albumName=$1&index=$2 [QS
A]
RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ /gallery/view_photo.php?set_albumName=$1&id=$2 [QS
A]
RewriteRule ^([^\.\?/]+)/$ /gallery/$1 [R]
RewriteRule ^([^\.\?/]+)$ /gallery/view_album.php?set_albumName=$1 [QSA]