Detect Mac users - htaccess
snippet in htaccess

Detect Mac users - htaccess

user5001

RewriteCond %{HTTP_USER_AGENT} Macintosh
RewriteCond %{HTTP_HOST} ^www.example.com$
RewriteRule ^ http://mac.example.com%{REQUEST_URI} [R]