AFAIK `.htaccess` redirects only work if you specify a full absolute URL. You want `RewriteRule ^mobile$ http://html5boilerplate.com/mobile/ [R=301,L]`.