Rhuan

Active Member
Nov 10, 2010
43
0
56
Brazil
cPanel Access Level
Root Administrator
Hi, looking for some trips of optimizations I see mod_expires and mod_header to make cache of static files like png, jpg, css, js...

To implement this is necessary to change .htaccess of each cpanel account, so my question is:
Is it possible to modify header of all sites/cpanel accounts in my server ?

Thank you! :D
 

simonas

Well-Known Member
Apr 21, 2013
141
0
16
Lithuania
cPanel Access Level
Root Administrator
Yes. You will find httpd.conf file at /usr/local/apache/conf directory. There you can edit global rules.

Or even better, go to apache configuration in WHM and there you will find that you can add custom lines.