• 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/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

plesk 11 and vhostmng missing

Mickael Salfati

Regular Pleskian
Hi IgorG and parallels Team,

on plesk 11, is there an another alternative to set again properly all permissions on a vhost and his subdomains ?

Mickaël.
 
Try to use following script:
Code:
# mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -Nse "select  s.login,h.www_root from domains d, hosting h, sys_users s where s.id=h.sys_user_id and h.dom_id=d.id"| grep [B]domain.com[/B] | while read usr path; do chown -R $usr:psacln $path ; chown -R root:root $path/plesk-stat; chown $usr:psaserv $path; done

where domain.com is name of vhost. Let me know if it helps.
 
Re

IgorG,

Thank you. It's my actual solution ;) But we have to catch others directories anon_ftp, cgi-bin, conf, error_docs etc.
So I'm wondering if a plesk tool (like vhostmng) it was not more secure for end customers.

Mickael.
 
Back
Top