mindnetcombr

Well-Known Member
Sep 16, 2004
70
5
158
Hello,

Please where is located the built-in apache of cpanel/whm? The webserver of /cpanel e /whm ?

Thank very much

Regards
 

sparek-3

Well-Known Member
Aug 10, 2002
2,174
281
388
cPanel Access Level
Root Administrator
All of the cPanel services are stored in /usr/local/cpanel

But it's all compiled. It's not open source. Thus the need for the license.
 

mindnetcombr

Well-Known Member
Sep 16, 2004
70
5
158
thank for the info, there is how to add apache config like "pre_main_global.conf" ?

I need include some apache config in cpanel built-in server.

thank
 

sparek-3

Well-Known Member
Aug 10, 2002
2,174
281
388
cPanel Access Level
Root Administrator
Are you talking about the web server used for cPanel backends? (i.e. the services that run on port 2083, 2087, and 2096?)

Or are you talking about the public facing webserver? Ports 80 and 443?

The cPanel backend is probably a customized web server - I'm not even sure if it's Apache per se - but has been heavily modified (or written from the ground up... who knows). It's not going to follow the same configuration setup as the public facing web server.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @mindnetcombr,

It's not possible to configure cpsrvd (the service associated with the cPanel & WHM interfaces) the way you can configure the Apache web server provided as part of EasyApache 4.

Is there a particular need you are trying to address?

Thank you.