Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 look at it.

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

Best regards;

like image 790
Prix Avatar asked Aug 20 '10 06:08

Prix


2 Answers

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.

like image 69
asnyder Avatar answered Oct 19 '22 23:10

asnyder


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

like image 29
xenoterracide Avatar answered Oct 19 '22 23:10

xenoterracide