Rewrite FQDN URLs correctly for mounted apps