Results 1 to 5 of 5

Thread: New folder in directory "private" on each domain

  1. #1

    Default New folder in directory "private" on each domain

    Hello,
    If I create a new domain in Plesk there are created a some folders like httpdocs, conf, cgi-bin, dev, usr, ... and also a folder named "private". I want to have a new folder in the folder "private" which is automatically created when adding new domains. Where is the template or skeleton for the folder "private"?
    Thanks.

    Greets
    Thomas



  2. #2
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    15,778

    Default

    Just use /var/www/vhosts/.skel/0/ as skeleton.



  3. #3

    Default

    Thanks for your reply, IgorG.
    That was my first thought too, but there is no folder "private" in /var/www/vhosts/.skel/0/
    That's the reason why I thought there must be another skeleton.

    Does it make sense to create a folder "private/my_new_folder" in "/var/www/vhosts/.skel/0/" although there is noch folder "private" ?
    Anyway it is good to know where the folder "private" comes from if not from "/var/www/vhosts/.skel/0/"

    Just for those who are searching for that in the forum.
    I need a directory for the session.save_path when using PHP as fastcgi. That's why I need the mention folder.
    Last edited by Thomas Becker; Apr 21, 2012 at 08:53 AM.



  4. #4
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    15,778

    Default

    Vhost directories structure will be created according to this skeleton. Therefore you can add directory what you want there and all new vhosts will be created with this added directory according to skeleton.



  5. #5
    Parallels Developers Alexey.Plotnitsky's Avatar
    Join Date
    Jan 2012
    Posts
    173

    Default

    Since Plesk 11.5, which is in preview stage now,

    Default website file structure (virtual host template) is more clear now.

    One can download Plesk 11.5 for evaluation, but it is not for production servers.
    The download links are in Plesk 11.5 Preview thread



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •