1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to "enable parent paths" globally

Discussion in 'Plesk for Windows - 8.x and Older' started by eder, Jul 13, 2008.

  1. eder

    eder Guest

    0
     
    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
     
  2. EclipZ

    EclipZ New Pleskian

    23
    20%
    Joined:
    Nov 1, 2002
    Messages:
    17
    Likes Received:
    1
    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.
     
  3. EclipZ

    EclipZ New Pleskian

    23
    20%
    Joined:
    Nov 1, 2002
    Messages:
    17
    Likes Received:
    1
    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.
     
Loading...