I don't recommend it at all. Sounds like an Apache issue rather than Moodle. I would have fixed the issue at source.
Installing and upgrading help
Moodle 3.1 too many redirects
This discussion has been locked so you can no longer reply to it.