Options +FollowSymLinks
RewriteEngine On
DirectoryIndex index.html
MaxCache On

# Conditional constants bridge for echo2 only
RewriteCond expr "%{CL_DEVICE_TYPE} == 'mobile'"
RewriteRule ^echo2$ - [E=CL_DEVICE_TYPE:mobile]
RewriteCond expr "%{CL_DEVICE_TYPE} == 'tablet'"
RewriteRule ^echo2$ - [E=CL_DEVICE_TYPE:tablet]
RewriteCond expr "%{CL_DEVICE_TYPE} == 'desktop'"
RewriteRule ^echo2$ - [E=CL_DEVICE_TYPE:desktop]

RewriteRule ^echo2$ device-%{ENV:CL_DEVICE_TYPE}.html [L]

