I’ve got a site that uses fragment cache stored in tmp/cache.
When you access it as http://www.site.com it creates a folder
tmp/cache/www.site.com.
Likewise, when you access it http://site.com it creates af older
tmp/cache/site.com
I believe it does the same with sessions, though I store those in the
DB. How do I go about fixing this? Can i redirect using .htaccess or
Webmin?
afaik you need to address this at the web server and redirect all
requests for http://site.tld to http://www.site.tld