H-Sphere templates


I have a web hosting account with H-Sphere control panel. can anyone tell me what are H-Sphere templates.

H-Sphere templates is basically what lays behind the H-Sphere Control Panel Web interface. For the most part, templates are written using Freemarker Java processing language for dynamic content generation.

What is the Location of Templates in H-Sphere control panel.

Location of Templates

1) Template root directory
2) Default (common) design directory
3) Custom template directory

InTemplate root directory:-

H-Sphere template root directory is by default /hsphere/local/home/cpanel/shiva-templates. It is set by the TEMPLATE_PATH parameter in the ~cpanel/shiva/psoft_config/hsphere.properties file:

TEMPLATE_PATH = /hsphere/local/home/cpanel/shiva/shiva-templates/

2) Default (common) design directory

Design, or skin, is the Control Panel GUI representation. Each design is defined by its own sets of templates, images, CSS styles, JavaScripts, etc. The most important part of GUI, templates, are placed in separate subdirectories of the template root directory in accordance to a design they belong to. The special common subdirectory is used to store templates that are the same for different designs. Also, this directory contains templates for the Left Menu design which is the default H-Sphere design. The path to this directory, relative to TEMPLATE_PATH, is set in hsphere.properties:

DEFAULT_TEMPLATES = common/

3) Custom template directory

Custom template directory is usually /hsphere/local/home/cpanel/shiva/custom/templates. Its location is set in hsphere.properties:

USER_TEMPLATE_PATH=/hsphere/local/home/cpanel/shiva/custom/templates/

Custom templates directory structure should correspond the default template root directory (shiva-templates) tree. However, you should be aware that templates in the custom template directory override the corresponding templates in the default template directory, thus all modifications and new features in existing default templates coming with new H-Sphere releases would be also overriden by custom templates. Therefore, only customized templates should be placed to your custom template directory.

Types of Templates

* System E-Mail Notification Templates
* Skeletons
* Web Interface Templates
o Main Templates
o Control Templates (Controls)
o Submit Templates (Submits)
o Function Templates
o Templates For Special Purposes
o Context Help Templates

Disable directory listings


How do I disable directory listings?

To disable directory listing (directory Indexes):

  1. Log into your control panel.
  2. Click the Web Options link.
  3. In the Settings field select Disabled for the Indexes setting.
  4. Click Submit.
  5. Click the Apply link to restart Apache with the new settings.

What items are used by H-Sphere to measure traffic and other data


What items are used by H-Sphere to measure traffic and other data (Gigabytes, Megabytes, Gigabits)?

Usually H-Sphere uses MB (Megabytes) to measure disk space. Traffic is measured in GB (Gigabytes). Gigabits are usually specified in Gb.

changing the password for the H-Sphere database


How do we go about changing the password for the H-Sphere database?

To change the password for the H-Sphere database:-

1) Log in to the CP server as root.
2) Log in as postgres user:
su – postgres
3) Find file passwd. Typically, it is located in ~postgres/data/
4) Type pg_passwd passwd
5) Type wwwuser
6) Enter and confirm your new password.
7) Log in as root.
8) Open file ~cpanel/shiva/psoft_config/hsphere.properties and change password in the following line:
#OBS_DB_PASSWORD =
9) Go to the directory with SiteStudio config files:
cd /hsphere/shared/SiteStudio/psoft_config/
10) In each .properties file, change value in the line:
DB_PASSWORD =
11) Restart control panel.

Alternatively, you can do it with the following SQL query:
ALTER USER wwwuser WITH PASSWORD ‘new_password’;

Why doesn’t H-Sphere create MS SQL db user with db owner permissions?


Why doesn’t H-Sphere create MS SQL db user with db owner permissions?

H-Sphere creates MS SQL users without db owner’s permission, because such permissions would allow users to change quotas which is not what most providers would like them to be able to do. H-Sphere shouldn’t be treated in any aspects as a db management tool. It just provides the access to dbs. To import and export dbs and execute similar management operations, users should use Enterprise Management or other similar clients.

mails through H-sphere control panel


Can we send mails through H-sphere control panel ?

H-Sphere 2.5 and up integrates MS Exchange Server hosting that enables you to send and receive electronic mail and other forms of interactive communication through computer networks. The centralized e-mail servers connect to the Internet and private networks where e-mail messages are sent to and received from other e-mail users. Exchange Server offers you integrated collaborative messaging features such as scheduling, contact, and task management capabilities.

When you are signed up for an MS Exchange plan, you can do the following in your user control panel:

  • Manage mailboxes
  • Manage SMTP domains
  • Add MX DNS records
  • Manage distribution lists

Mailbox is an area in memory or on a storage device where e-mail is placed. In e-mail systems, each user has a private mailbox. When the user receives e-mail, the mail system automatically puts it in the mailbox.

Managing an existing mailbox:

  1. Go to MS Exchange->Mailboxes menu of your Control Panal
  2. On the form that appears, you can:
  • View general information on your mailboxes
  • Increase Mail Store Quota and Public Store Quota by clicking on the edit icon and agreeing to charges, if any.
  • Add a mailbox
  • Edit an existing Mailbox
  • Remove an existing Mailbox by clicking the Trash icon next to the Mailbox you need.
  1. Go to MS Exchange->Mailboxes menu of your Control Panel
  2. Click the Add mailbox icon
  3. Fill in the form you will be taken to

Here:

  • Mail Box Plan – you can choose the plan that suits you best
  • Principal name – your mailbox name
  • Password – is a mailbox password which corresponds with win server password restrictions

For Editing an existing mailbox:

  1. Go to MS Exchange->Mailboxes menu of your Control Panel
  2. Click the Edit icon next to the mailbox you want to edit
  3. Make necessary changes in the form you will be taken to:

Set up Internet SMTP domains


How can we set Internet SMTP domains?

Advance thanx for any help

MS Exchange allows you to set up Internet SMTP domains, that you may want to accept messages for.

How to add new SMTP domain

To add new SMTP domain:

  1. Go to MS Exchange->SMTP Domains menu of your Control Panel
  2. Click the Add new domain icon
  3. Fill in the form you will be taken to:

Hi,
I want to remove my existing SMTP domain.

Plz. help

To remove SMTP domain:

  1. Go to MS Exchange->SMTP domains menu of your Control Panel
  2. Click the Trash icon next to the domain you need

I want to set an existing SMTP domain as Primary.

To set an existing SMTP domain as Primary:

  1. Go to MS Exchange->SMTP domains menu of your Control Panel
  2. In the column Primary, click the button to enable/disable next to the desired domain

You cannot remove SMTP domain with a mailbox already created on it.