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

default folders after domain setup

Discussion in 'Plesk 9.x for Linux Suggestions and Feedback' started by bradz, Jul 28, 2010.

  1. bradz

    bradz Regular Pleskian

    25
    57%
    Joined:
    Jan 19, 2008
    Messages:
    105
    Likes Received:
    0
    Hi, When one sets up a new domain or restores domains from an ftp backup, one gets a set of default folders in the httpdocs and httpsdocs folders with files (folders include css, test, img, picture_library & plesk-stat). I would like to turn this feature off so that it does not add these default folders. How do I do this? I prefer no extra files or folders.
    Thanks for your ideas, thoughts and help.
    Sincerely,
    Brad Zehr
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,534
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
  3. bradz

    bradz Regular Pleskian

    25
    57%
    Joined:
    Jan 19, 2008
    Messages:
    105
    Likes Received:
    0
    Thanks so much IgorG!

    Thanks for getting in the correct direction IgorG.
    In case it helps others, I will add a few short notes on it.
    I was able to use ssh, go to the skeleton files folder using

    cd /var/www/vhosts/.skel/0/
    then
    Used ls -al (list files and folders)
    then deleted folders with
    rm -r -f foldername
    and deleted files with
    rm filename

    And it worked! When I created a new domain on the server it showed the changes.

    I do have one question I would like to resolve.

    I did not see the folders plesk-stat and picture_library in the skeleton folder.
    How can I stop these 2 folders from being added to each domain?
    Maybe they are in a different skeleton folder, I will look.
    Any help is greatly appreciated.
    Sincerely,
    Brad
     
Loading...