Move to a hot, sunny state
I have had the same problem in cars in the past and delt with it the same way you did. The only other option I could see it to pull the carpet and pressure wash it. Most things that kill mold (like bleach) will distroy your carpet too.