1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Custom Skeleton Question...

Discussion in 'Plesk for Linux - 8.x and Older' started by nhouse, Jul 16, 2005.

  1. nhouse

    nhouse Guest

    I have read the help docs and manual... and have searched the forum some but didn't find an answer to clear things up for me. So, please share your insight with me if you don't mind about the custom skeletons.

    1. Basically, I just want to alter the default index page and maybe the error pages to be replicated to subsequent domains.
    2. The documentation shows which directories can be in the custom skeleton... BUT can I pick and choose which ones? If I only modify the index file... do I also need to put the rest of the directories in the custom skeleton as well? Or wil Plesk put the defaults in there with it as well when needed?
    3. is there a custom <tag> that will automate including the names of new domains in the body of the index file? If there are tags to do things like this... where do I find them?

  2. jamesyeeoc

    jamesyeeoc Guest

    Hello again!

    IMO, since you are still fairly new, you should start with all the same folders and files which are normally located at: (on Plesk 7.5.3, RH)

    /home/httpd/vhosts/.skel/0/httpdocs (non-SSL) and
    /home/httpd/vhosts/.skel/0/httpsdocs (SSL)

    You should make a new folder /nhouse1/ and copy all the existing folders/files from the /0/ folder to yours. Then make changes to those existing files and then use that as the basis for your first skeleton file.

    The tag for domain name insertion is:
    as you can see if you look at the index.html file in the above folders.

    Plesk will *not* fill in any other of the default folders/files once you have uploaded a new skeleton to it, since it has now been told to use your skeleton instead of their default one.
  3. nhouse

    nhouse Guest

    Hey... thanks! I had hoped it would be as simple as copying some files... but wouldn't it be easier to edit them from within Plesk? :D ;) :p
  4. jamesyeeoc

    jamesyeeoc Guest

    Where in the control panel have you seen the option of editing the skeleton files?
  5. nhouse

    nhouse Guest

    I'm sorry... I was being facetious. I know that you can't edit them there... just wishful thinking ;) I suppose. It's a bit of a tease to let you see them there and not have an editing function.

    Thanks Again!
  6. jamesyeeoc

    jamesyeeoc Guest

    Ahh, gotcha now. Yes it is a tease. Sorry haven't even finished my first cup o joe yet.
  7. ChipMonk

    ChipMonk Guest


    Very great work :p you saved me from a hell of searching and working :p
  8. Whistler

    Whistler Guest

    Does anybody know if other keywords are supported - other than @domain_name@ in the templates?

    I can't find any documentation on the keyword substitution for skeleton-files.
  9. jamesyeeoc

    jamesyeeoc Guest

    I have spent countless hours in searching and actual testing, trying to guess additional @_something_@ tags and have never been able to find any on my own or by googling.

    I have a feeling that Plesk only provided that one single tag to make their simple skeleton index file.

    But I still maintain hope that if any other tags exist, that someone will happen by the forums and post them! (but I am not holding my breath)