|
Knowledgebase
|
|
 |
- Part Seven
SSI
Cron Jobs
Mime Types / Apache Handlers
Error Pages
Domain Lookup
Trace Route
Hotlink
Protection
SSI
When using a
UNIX system it is sometimes necessary to enable certain HTML files
executable for the
purpose of using SSI. Server Side Includes
are often used to run a cgi script. An include is called with an
example such as this: <!--#exec cgi="/cgi-bin/example.cgi"-->
After you insert your include, you must mark
the HTML file as executable so the server will
parse the file. This is done using one of two options.
1.) Renaming
the file to .shtml: On our server any file name .shtml will be parsed.
So instead of having an
index.html file, you would name it index.shtml.
This is the easiest way of enabling includes.
2.) CHMODing
the file to 777: With CHMOD 777 you can also mark a file as executable.
It is important to
only make the files which you want parsed executable.
This poses certain security issues, as well as a
strain on our resources, as the processor has
to work harder to parse a file.
Reasons
for Using SSI:
SSI is often used to include something into
an HTML page. You can insert the contents of one HTML page
into another page. An example of a practical
usage for this would be to include your e-mail address at the
bottom of each page. If you do this as an include,
then when your e-mail address changes, you will only
have to update it on one page and not your
entire web site. Another usage is to call cgi scripts into action.
Many counters, clocks, and other scripts are
called using SSI. The command used will most likely be
provided in the documentation of your cgi script.
CRON
You can schedule
task to be performed automatically by the server at a determined
time.
MIME
Types / Apache Handlers
A MIME type
is basically what tells the web server that a .html document is
a web page, and that a .gif doc is a gif image etc. If you
would like to configure a custom MIME type such as making .pictures
a gif image file you would enter it here.
Error
Pages
This section
lets you customize the errors that your users will see instead of
the generic server errors. You could setup a 404 page to redirect
users to your main web site instead of the default dead document.
Trace
Route
By clicking this link
the CP will trace your site form your pc.
Hotlink
Protection
Hotlinking
is when another web site owner links directly to one or more of
your images or multimedia files and includes it on their web page.
Not only is this theft of your intellectual property, you are paying
for the bandwidth used by that site. Refer to this article for more
information on hotlinking.
cPanel
can prevent hotlinking by only allowing named sites (such as your
own web site) to access files on your site.
To
prevent hotlinking:
- Click
on the HotLink Preventor link in the Advanced Menu area.
- Enter
any other addresses that you will allow to access your site other
than the provided defaults in the central area.
- Enter
the protected extensions in the Extensions to allow field. Make
sure you separate each extension with a comma.
- Enter
the address to redirect any hotlinking to in the Url to Redirect
to field.
- Click
on the Activate button.
Note: If you can
access your control panel, you should not use these addresses,
instead, use the support form in your control panel. This makes
support much easier and includes information we need to process your
request.
If you can not access your site or your control panel,
and need support use the link below:
-Open a trouble ticket using email to:
support@scorpionsystems.net
Make sure to include:
-Your Domain Name
-Username
-Problem you are having
-Address we can reply to
-Control panel password to verify your account
(important!)
Before you e-mail support,
it is a good idea to consider that if a problem is server or network
wide, we know about it. We have several systems montioring our servers
and they notify us when there is a problem.
Note: We do not offer telephone support at this time.
|