Permanent apache configuration?

Strator

Verified User
Joined
Jan 19, 2011
Messages
274
Hi,

I've had some recent downtime on my server, only to discover that it was due to the fact that DA overwrote the changes I made to httpd-mpm.conf (essentially changing max clients back to 450, which my small-size VPS can't possibly sustain).

How can I change MaxClients to make sure it sticks permanently?

Thanks!
 
Please copy httpd-mpm.conf file to /usr/local/directadmin/custombuild/custom/ap2/conf/extra folder:
Code:
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/conf/extra
cp -p /etc/httpd/conf/extra/httpd-mpm.conf /usr/local/directadmin/custombuild/custom/ap2/conf/extra/httpd-mpm.conf
 
Thanks for the quick reply. What about the files in /etc/httpd/conf/original/extra - should I overwrite those as well, or are they just for backup purposes?
 
Thanks for the quick reply. What about the files in /etc/httpd/conf/original/extra - should I overwrite those as well, or are they just for backup purposes?

Yes, they're just for backup purposes, but usually "./build rewrite_confs" is used to rewrite the configs.
 
Back
Top