• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Batch change webalizer and awstats setting for many/all domains

nforde

Basic Pleskian
In Plesk 9 we could do a batch update of lots of domains for particular hosting settings like webalizer and awstats.

Where is this same functionality in Plesk 10?

We have over 300 domains and want to turn off webalizer and awstats for *all* of them.

Obviously we don't want to manually do it 300 times...
 
Try to use following scripts:

for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/admin/sbin/webstatmng --unset-configs --stat-prog=webalizer --domain-name=$i; done

for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/admin/sbin/webstatmng --unset-configs --stat-prog=awstats --domain-name=$i; done
 
It's a shame that handy (many would say 'required') functionality like that has been dropped since Plesk 9, but thanks for the solution.
 
Back
Top