jamesoff.net




31
Aug
2006
1

gallery integration test

so this should be humphrey: scratch/humphrey.png

and this should be the wedding album: wedding/

hooray, it works! the WPG2 plugin seems to be working fine. All I needed to do was adjust it slightly because it insisted on embedding Gallery in my blog, which isn’t what I wanted.

I fixed it with a mod_rewrite rule in .htaccess:

RewriteEngine On
RewriteBase /
RewriteRule ^(v/.+) http://gallery.jamesoff.net/$1 [R,L]

which just redirects gallery-type URLs here to the correct URL (needs to go above the other WPG2 stuff in .htaccess). Not sure if I need the R flag in there or not, but it works so I’ll leave it.


Permalink | Posted in Coding Sites 

One comment on “gallery integration test”

  1. Posted by Daniel (Permalink)

    Fantastic I shall have to try0r this.



Add a comment