Does acyclovir have any other uses beside treating herpes?

Yes. Although 10x more effective against herpes simplex, it can also be used for the varicella-zoster virus, and is much less active against cytomegalovirus. It can, therefore, be theoretically used in those situations, but not generally recommended.