In general it is allowed however if a woman rides a horse wearing bad clothing or in bad places etc, then the conditions are wrong not the actual act itself. Hence if a woman is riding a horse where there are no men present and no cause for corruption, then it is allowed