unless ($homeurl =~ m[^https?://]) { &inerror("Your home url has to start with http:// or https://"); }