THE INFLUENCE OF ENVIRONMENT ON THE CIRCUMGALACTIC MEDIUM