CPanel Information and Tips
SSI
Cron Jobs
Mime Types / Apache Handlers
Error Pages
Domain Lookup
Trace Route
CPanel
File Location
Sometimes it's easier to cut to the chase and
edit your /cpanel files yourself. Anything
related to your linux
/cpanel is stored in a ".cgiinfo" directory
within your root directory. You might not
be able to see this within
many FTP clients, but while you are logged
in to your root dir, simply change directories
to ".cgiinfo" and
you will reach this location. You can always
edit these files via telnet, if you have
the ability. This is probably
the best way to quickly edit or debug your
Bulletin Board, and other components created
by your
/cpanel.
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.