  Particle acceleration in relativistic shocks is studied analytically in the
test-particle, small-angle scattering limit, for an arbitrary velocity-angle
diffusion function D. Accurate analytic expressions for the spectral index s
are derived using few (2-6) low-order moments of the shock-frame angular
distribution. For isotropic diffusion, previous results are reproduced and
justified. For anisotropic diffusion, s is shown to be sensitive to D,
particularly downstream and at certain angles, and a wide range of s values is
attainable. The analysis, confirmed numerically, can be used to test
collisionless shock models and to observationally constrain D. For example,
strongly forward- or backward-enhanced diffusion downstream is ruled out by GRB
afterglow observations.
