So, instead of mucking with my index file, I’d rather have two index files. One used by a video broadcaster, and the other just for video viewers. They both would be accessed using the same sub-domain. The viewer index file would be missing the html that the broadcaster would need.
I was thinking I could route based on user lists and groups if that makes sense. So a broadcaster would be in the broadcaster group in my haproxy.cfg. When he logs in, the broadcaster group acl would take him to index.html. When a viewer logs in, the viewer acl would take him to index2.html. Make sense?