Does it work with one of the demonstration refbase servers?

Not much to go on.  302 is a redirect: what happens if you use the most direct URI?  Do you have full logging of PHP warnings/errors enabled?  Often times, errors get piped to another log.  So, check there.

--Rick