Web
Hosting File Locations
When you connect to the web server via FTP or SSH you will be located
in the 'home' directory of your hosting account.
This directory
is '/home/USERNAME'
/home/USERNAME/
public_html/
cgi-bin/
The path to
your home directory may also be written as ~USERNAME/
Public_html
directory
All files which
you wish to access via your website must be placed in the public_html
directory. Files to be placed in this directory include files with
extensions such as:
A
file located in /home/USERNAME/public_html/myhomepage.html has a
URL of http://www.mydomain.com.au/myhomepage.html
An introductory
file called index.html is located in the public_html directory.
The first page of your website must follow a naming convention.
The web server will look for the first page in your site with the
following name in order:
- index.html
- index.htm
- index.shtml
- index.cgi
- index.php
- index.php4
- index.php3
- index.jsp
- default.htm
- default.html
The
first match found in the list will be used as the homepage for your
website. You cannot use any other file names for the home page of
your website.
Cgi-bin
directory
All cgi scripts
should be placed in the cgi-bin directory
This includes
scripts written in Perl, Python, Tcl etc
Home
directory
File which you
don't wish to be publicly accessible can be stored in the home directory.
Disc
quotas
Disc quota's
are implemented on all hosting accounts. Quota's only allow you
to store files up to your allocated storage limit. Once exceeded
you will not be able to upload any new files.
Disc quotas
are implemented to protect the integrity of the web server (prevents
users consuming all available disc space either intentionally or
inadvertently which would prevent other users on the system from
uploading or creating new files).
To increase
your disc quota, please contact support via
Email:support@webecommercehosting.com
Phone: 403 861 6613
File
Permissions
In general you
should not need to adjust the permissions of files in your public_html
directory.
All files located
in the public_html directory should be:
- Owner:
read + write
- Group:
none
- Other:
read
This
can be achieved using the command: chmod u=rw,g=,o=r file.name at
the command prompt or via the web based file manager located in
your control panel.
CGI
files such as formmail should be:
- Owner:
read + write + execute
- Group:
none
- Other:
none
This
can be achieved using the command: chmod u=rwx,og= file.name at
the command prompt or via the web based file manager located in
your control panel.
PHP
files should be:
- Owner:
read + write
- Group:
none
- Other:
none
This
can be achieved using the command: chmod u=rw,og= file.name at the
command prompt or via the web based file manager located in your
control panel.

|