All,Apache 2.4.27OS: RHEL 7.6We're using httpd as a reverse proxy to 3 back end application servers. We have a landing page for users to select their geographical region. Everything works as expected with the current setup, however, we'd like users to not have to re-select their region on return visits.So, ideally we set a cookie (or two) and use mod_rewrite to direct requests that have the cookie(s) in place.I have not been able to get this working as I am not that familiar with what I need to be redirecting on. I'm assuming I need to do something like:RewriteEngine ONRewriteCond %{HTTP_COOKIE} region=us [NC]RewriteRule "/index.html" "/CA/en_US"I added this inside of the landing page directory block, but is just sent the request into a redirect loop. Here is the whole virtualhost block:<VirtualHost *:443>ServerName example.comSSLEngine onSSLProxyEngine onSSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDHSSLHonorCipherOrder OnSSLCompression offSSLUseStapling onSSLSessionTickets OffSSLCertificateFile /etc/pki/tls/certs/server.crtSSLCertificateKeyFile /etc/pki/tls/certs/server.keyHeader always set Strict-Transport-Security "max-age=63072000; includeSubDomains"Header always set X-Frame-Options DENYHeader always set X-Content-Type-Options nosniffHeader add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGEDAlias "/balancermanager" /var/www/html/balancermanager<Location /balancermanager>SetHandler balancer-managerOrder Deny,AllowDeny from allAllow from 10.1.1.10</Location>DocumentRoot /var/www/html/home<Directory /var/www/html/home>FallbackResource /index.htmlRequire all grantedAddType text/html htmlAddType text/css cssAddType image/svg+xml svgAddType image/jpeg jpeg jpg jpe png</Directory><Proxy balancer://balancer_nodes>BalancerMember https://node1.example.com:8443 route=node1 keepalive=On ping=3 ttl=60BalancerMember https://node2.example.com:8443 route=node2 keepalive=On ping=3 ttl=60BalancerMember https://node3.example.com:8443 route=node3 keepalive=On ping=3 ttl=60ProxySet lbmethod=bybusyness</Proxy>ProxyRequests OffProxyPreserveHost OnProxyPassMatch .*\.php$ !ProxyPassMatch .*\.asp$ !ProxyPassMatch .*\.pl$ !ProxyPassMatch .*\.pm$ !ProxyPassMatch .*\.rb$ !ProxyPassMatch .*\.py$ !ProxyPass /balancermanager !Alias "/favicon.ico" /var/www/html/home/favicon.icoProxyPass "/US/en_US/" balancer://balancer_nodes/US/en_US/ stickysession=ROUTEIDProxyPassReverse "/US/en_US/" balancer://balancer_nodes/US/en_US/ stickysession=ROUTEIDProxyPass "/CA/en_CA/" balancer://balancer_nodes/CA/en_CA/ stickysession=ROUTEIDProxyPassReverse "/CA/en_CA/" balancer://balancer_nodes/CA/en_CA/ stickysession=ROUTEID</VirtualHost>Any guidance is greatly appreciated.Thanks,HB