Put the terminal block in a weather proof enclosure which is IP65 rated. use suitable sized rubber grommets for the cable exits and smear with Vaseline. Mount the box just off the floor.
You could also provide a couple of drain holes underneath so that any moisture inside can escape and air can get in, although this shouldn't be necessary....