httpdb fixes and configurability