开发者

What language cPanel/WHM panel server is done?

I am planning to make an application like cPanel/WHM in perl since i never worked out my own server in perl, and i was thinking of a few points that i wanted some advices/help:

  • cpanel and whm work on ports 2082/3 and 2086/7 to server their panel i was wondering in what language is their server done or if there is a nice module for perl to hold a webserver like that ?

  • from what i know cpanel/whm run as root what should i keep in mind while making my own server to handle my panel while it runs as root ?

  • if you know of any open source USING PERL that is on this route i would like to take a loo开发者_如何学运维k at it.

If you have any other advices related please feel free to drop your comment.

Best regards;


Check out webmin, source code here: http://github.com/webmin/. It's an open-source alternative to cPanel, Plesk, etc. All of the modules appear to be written in perl. You can choose to extend it, or simply peruse the code to learn. Your choice.


For your own server I'd look at the Plack/PSGI stack. Maybe with some Catalyst to aid you.


cPanel and WHM are both written in Perl and then compiled to native code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜