#!/usr/local/bin/perl # Output the XML settings file BEGIN { push(@INC, ".."); }; use WebminCore; $trust_unknown_referers = 1; &init_config(); print "Content-type: text/plain\n\n"; # Work out host and port $host = $ENV{'HTTP_HOST'}; $host =~ s/\:\d+$//; $telnetport = $config{'telnetport'} || 23; print < EOF