Spostare i log dell’httpd in un altro percorso


cd /var/log

/etc/init.d/httpd stop

mkdir -p /srv/cluster/var/log/httpd

cp /var/log/httpd/* /srv/cluster/var/log/httpd

rm -rf /var/log/httpd/

ln -s /srv/cluster/var/log/httpd

/etc/init.d/httpd start