How i can change Apache Setting

Desperados

Verified User
Joined
Jan 2, 2017
Messages
37
Hello,

I am using Directadmin + Cloudlinux + Apache Mod Worker

How i can Change Maxclient , serverstart , keepalive timeout , keepalive number and ...

Best Regards,
 
/etc/httpd/conf/extra/httpd-default.conf and /etc/httpd/conf/extra/httpd-mpm.conf, after the changes:
Code:
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/conf/extra
cp -p /etc/httpd/conf/extra/httpd-default.conf /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/
 
/etc/httpd/conf/extra/httpd-default.conf and /etc/httpd/conf/extra/httpd-mpm.conf, after the changes:
Code:
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/conf/extra
cp -p /etc/httpd/conf/extra/httpd-default.conf /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/

just to confirm after that we'd need to do a
Code:
./build rewrite_confs
??
 
just to confirm after that we'd need to do a
Code:
./build rewrite_confs
??

As we edited configs in-place (in /etc/httpd/conf), it's not needed. We copy them to custom/ap2/conf/extra so that they wouldn't ger overwritten. If we placed our configs from configure/ to custom/ - then yes, rewrite_confs is needed to copy the configs to /etc/httpd/conf/. O hope it's clear :)
 
As we edited configs in-place (in /etc/httpd/conf), it's not needed. We copy them to custom/ap2/conf/extra so that they wouldn't ger overwritten. If we placed our configs from configure/ to custom/ - then yes, rewrite_confs is needed to copy the configs to /etc/httpd/conf/. O hope it's clear :)
for custom/ap2/conf/extra, so does this apply to any apache include configfiles place in custom/ap2/* and custom/ap2/conf/* or just custom/ap2/conf/extra
 
if i modify /etc/httpd/conf/extra/httpd-includes.conf do i need to do the same ?
Code:
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/conf/extra
cp -p /etc/httpd/conf/extra/httpd-includes.conf /usr/local/directadmin/custombuild/custom/ap2/conf/extra/
 
@eva2000, No, that is not needed. You can safely directly modify /etc/httpd/conf/extra/httpd-includes.conf, that fille will never be overwritten.
 
@eva2000, No, that is not needed. You can safely directly modify /etc/httpd/conf/extra/httpd-includes.conf, that fille will never be overwritten.

cheers @ditto thanks for the clarification :)
 
@eva2000, No, that is not needed. You can safely directly modify /etc/httpd/conf/extra/httpd-includes.conf, that fille will never be overwritten.

I do prefer to have all custom in custom/ap2/ will ./build rewrite_confs work for all conf files that are in custom/ap2/, /etc/httpd/conf/ and /etc/httpd/conf/extra/ ?
So will ./build rewrite_confs also work with /etc/httpd/conf/extra/httpd-includes.conf
 
Back
Top