Samizdata - 11:41 am on May 31, 2013 (gmt 0)
I don't know the first thing about .htaccess
You can learn a huge amount from older posts in this forum, but .htaccess is a powerful tool that must be used with great care. I wouldn't use it for browser sniffing myself (I use PHP where necessary).
Our main site was done a few years ago in flash
That is the problem you really need to address.
Flash was a great option back in the day (2000-2005) but even then it was necessary to provide alternate HTML content for those without the Flash plugin.
Rather than a mobile site you might do better to use SWFObject to provide a lightweight HTML alternative - all modern mobiles that actually browse the web can handle a simple site, and rather than detect an ever-expanding list of user-agents you only need to detect the Flash plugin (which SWFObject does for you).