Home | About Us | Contact Us   
 

How to use SSI scripts:

SSI stands for Server-Side Includes, which is a scripting language, that allows you to embed certain directives into your html files, which are parsed by the WWW server before the document is being sent to the client.

You do NOT need to enable SSI, it is enabled for every account on Binary Net by default.

  • In order to use embedded into your HTML files SSI scripts, you just need to make sure a file is called *.shtml, and it will automatically be treated as an SSI script, and parsed by the server before being sent out to client.
  • Alternatively, you can set up your own extensions, using Addtype directive in an .htaccess file in the respective directory. A MIME type, corresponding to SSI scripts is text/html, but you will also need to set up a different handler for the files you want treated as SSI scripts, using AddHandler directive in the .htaccess file in the respective directory.
  • So, in order to have all your, for instance, *.s files treated as SSI scripts, you would add the following lines to .htaccess file in the respective directory:
    Addtype text/html .s
    Addhandler server-parsed .s

More information on SSI and scripting with it available at http://www.apache.org/docs/mod/mod_include.html.

Please contact support@binary.net if you have any further questions . Unfortunately, though, our limited resources will not allow us to help you in troubleshooting potential problems with your SSI scripts.

 

 

 

 
Copyright © Binary Net 1996-2005