Tag: html
cPanel 11 Documentation – Branding-overview
by admin on Jan.03, 2009, under Tutorial, cPanel
Overview
The Branding Editor allows you to edit many different aspects of the presentation of cPanel to your users. The best method is to create a new style and then edit it. It is recommended that you follow these steps so that you have a non-edited style to fallback to just incase something goes wrong with your new style.
Official cPanel Styles
cPanel installs with some of it’s own styles by default. Editing of the “Official cPanel Styles” on the server should always be avoided. Each time you perform an update of cPanel to the newest version, your changes will be overwritten and lost. The “Official cPanel Styles” are distributed with each new version and written to your server with each update.
Available Branding Styles
Any installed styles (whether an “Official cPanel Style” or a custom style) are listed for use on the “Branding Editor” page. The default style is [root] and will always be used if no other style is chosen.
Each installed style can have a custom thumbnail shown depicting it, however if you do not supply a thumbnail or the thumbnail is missing a default thumbnail will be used instead, thus showing a thumbnail that might not look like the actual theme in question.
Style Options
Each style has several available options that can be found in the “Available Branding Styles” list. They are as follows:
- Enable or disable style – Each style can be enabled or disabled by clicking in the checkbox below the name of the style.
- Apply to My Account – This will change the current style on your account. This will also change the style used by all of the sub-accounts under your main account.
- Apply to All Accounts – This will apply the style to all accounts already created. This will not set the default style to be used in the future for new accounts. You will still need to “Set Default for New Accounts” to apply this style for accounts created in the future.
- Set Default for New Accounts – This will set this style as the default for all new accounts created from this point on into the future. It will not set the default style for accounts that have been created in the past.
- Edit this Style – Allows the editing of the style. In the case of the “Official cPanel Styles”, it will create a copy of the style for you to edit instead of letting you edit it directly.
cPanel 11 Documentation – MIME Types
by admin on Jan.03, 2009, under Tutorial, cPanel
Overview
MIME Types tell browsers how to handle specific file extensions. For example, the text/html MIME Types equates to .htm, .html, and .shtml extensions on most servers, telling your browser to interpret all files with those extensions as HTML files. You can alter or add new MIME Types specifically for your site (Note: You cannot alter the system defined MIME Types values). MIME Types are often used to handle new technologies as they appear. When WAP technology first appeared, no one had these extensions set up on their server. With MIME Types, however, you could have set it up yourself and began serving WAP pages immediately.
To learn more about MIME Types, view the WikiPedia web page at http://en.wikipedia.org/wiki/MIME.
Creating A MIME Type
Steps
- Enter the MIME Type you want to create in the “Mime Type” text box.
- Enter the Extension of the MIME Type you entered in Step 1 above in the “Extension(s)” text box.
- Click on the Add button.
Introduction to Web Hosting
by admin on Jun.01, 2008, under Tutorial
How your site works
Your web site is made up of a group of files and directories, much like your Documents folder on your home computer. Only in this case, everyone in the world can see some of your files. To give you an idea of how the directories and files work, we’ll look at a view of the file manager.
Contents of /usr/home/username/.
Above, you can see an example of the files and directories in your site. There are three main directories to be concerned with:
home /usr/home/username/ – This is your home directory. All of your files are stored within this directory. Files placed directly in this directory will not be visible on the internet. You will start out in your home directory when connecting by FTP, Web Disk or the File Manager.
/usr/home/username/public_ftp/ – This is the directory used for anonymous FTP access. Any files in this directory can be downloaded by anyone if anonymous FTP access is enabled.
public_html /usr/home/username/public_html/ (www) – The public_html directory contains the files for your site. Files in public_html and any subdirectories of public_html will be able to be viewed by anyone on the internet.. (/usr/home/username/www/ is the same directory as /usr/home/username/public_html/).
When someone views a directory in your public_html area, they will see the index page for that directory. When creating your index page, you should use one of the following names (the first one found will be shown if the visitor doesn’t type in a specific page in their URL):
index.php
index.html.var
index.htm
index.html
index.shtml
index.xhtml
index.wml
index.perl
index.pl
index.plx
index.ppl
index.cgi
index.jsp
index.js
index.jp
index.php4
index.php3
index.php
index.phtml
default.htm
default.html
home.htm
index.php5
Default.html
Default.htm
home.html
Warning: When adding files to your site, it is important that you add them in the right place. For example, you will need to place files that you wish to be visible on the internet in public_html or a subdirectory of public_html. If you placed them in / for example, no one will be able to view them.
