Module to prevent infinite loops made by redirect module.