ozzieonline

Well-Known Member
Dec 20, 2012
126
0
16
cPanel Access Level
Root Administrator
Hi guys,

Is the httpd.conf file read with every page request? Or is it stored in the server's internal memory?

I see that each of my vhosts contains about 40 lines of code. I wonder... I only have a few vhosts now, but if I ever have 500 vhosts (that would be cool :D) then it would mean 500 x 40 lines of code = 20.000 lines of code. Would that be a problem? Or no problem at all?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Is the httpd.conf file read with every page request? Or is it stored in the server's internal memory?
I don't know where it's stored, but it's not read with every page request.
That's why you need to restart Apache after httpd.conf changes.