Don't use text function in miniserv.pl http://virtualmin.com/node/33257