• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How to "enable parent paths" globally

E

eder

Guest
Hello everybody!

I have a Virtual Dedicated server at godaddy running Plesk 8.3 for Windows.
The purpose of this server is to host a website that will be deployed to hundreds of clients, each one in its own hosting account.

So I changed the "skeleton" to be the entire framework I use to deploy these websites.
So when I create a new domain, the skeleton is already there.
I need to automatically enable parent paths for all accounts created. Is it possible?

Would also be a time saving feature if I could assing permissions to the skeleton and have them applied to all accounts, or have it done in another way, as long as the permissions get granted automatically at account creation time

Any help will be enormously appreciated.

Thanks

Eder Wainer
 
Sorry for this enormous thread necro, but when searching on Google this was one of the first results before I gave up and started looking at the Plesk executables instead, in case this helps anyone else...

This command in PowerShell/CMD will do the job and can be replicated for many domains in a large paste or batch file:

When inside "C:\Program Files (x86)\Parallels\Plesk\admin\bin>"

.\virtdir --update / -parent_paths true -vhost domainname

It should also be possible to use the Plesk Event Handler to run this command automatically on a domain after creation if needed as per the OP.
 
This was actually for someone running a Server 2012R2 system with Plesk 12, who has a lot of old asp sites that use this, hopefully one day soon they will update their stuff to use include virtual instead.
 
Back
Top