Apache auto-detection and redirect
==================================

If you want to prevent loading the OX6 UI login page you can enble auto-redirection
for specific devices. In this case simply add the following rewrite rule to your
existing apache configuration. Usually the location part already exists for the
current OX6 front-end. In that case just add the rewrite rule on top of the block.

<Location /ox6>
    RewriteEngine On
    # RewriteCond %{HTTP_COOKIE} !FULLSITE=yes
    RewriteCond %{HTTP_USER_AGENT} "android|iphone" [NC]
    RewriteRule (.*) https://m.your-site.org/? [R,L]
</Location>