I want to get this Webmin thing recently. I'll take a closer look.Code, Coupling is really tight. Now you want to manage the server. It is impossible to rewrite a set of solutions by yourself. In this case, modify Webmin and rewrite some modules I use.
1 use soap: Lite package
This package contains common packages such as XML-RPC and soap.
2 install Apache + perl cgi
Add in Conf. php
Options + execcgi
Addhandler CGI-script. cgi. pl
Alias/Webmin-RPC/"/usr/local/Webmin-RPC/" Create a test script #! /Usr/bin/perl
Print "Content-Type: text/html/n ";
Print "Hello, world."; grant the chmod a + X first. pl 3 permission. My initial idea is to use XML-RPC to call Linux-side perl scripts. Basically script or web-lib.pl inside, other modules under the CGI function are very easy, anyway, the inside generated HTML place removed. The result is returned as an XML file to the manager.
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? Postid = 477463