Apache on Plesk: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Main config file:<br /> | |||
<code>/etc/httpd/conf/httpd.conf</code> | |||
Latest revision as of 03:23, 1 November 2017
Main config file:
/etc/httpd/conf/httpd.conf
Optimizations
In Plesk, Apache optimizations are set in:
/etc/httpd/conf.d/
You'll want to change the settings in the appropriate file for the MPM:
mpm_prefork.conf
mpm_event.conf
(Might be httpd.conf on older Plesk versions)
Domlog diving
find /var/www/vhosts/*/logs/ ! -path /var/www/vhosts/system -name access_log | while read LOG; do echo -e "`echo $LOG|awk -F'/' '{print $5}'`: `wc -l $LOG|awk '{print $1}'`"; done |sort -rnk2 |head -25