• 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.

Custom Skeleton Question...

N

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?

Thanks!
 
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:
@domain_name@
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.
 
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
 
Where in the control panel have you seen the option of editing the skeleton files?
 
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!
 
Ahh, gotcha now. Yes it is a tease. Sorry haven't even finished my first cup o joe yet.
 
Originally posted by jamesyeeoc
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:
@domain_name@
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.


Very great work :p you saved me from a hell of searching and working :p
 
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.
 
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)
 
Back
Top