I have it
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php?route=$1&mobile=false [L,QSA]
I need that when the request came from the m.site.ru subdomain, this happened
RewriteRule ^(.*)$ index.php?route=$1&mobile=true [L,QSA]