|
|
|
|
||||||
|
|
Manual - Part Seven |
| <----Return to Manual CPanel Information and Tips SSI |
Click for printer friendly page
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. <----Return to Manual W hen 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.
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. You can schedule task to be performed automatically by the server at a determined time. 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. 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. By clicking this link the
CP will trace your site form your pc. |