apache pivot extension