AlpineWeb Home
Search: For:   ~ Advanced Search  
  AlpineWeb Technical Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > Basic Hosting > Webserver > Tuesday, January 06, 2009

Apache Server Side Includes for Basic Hosting Accounts


SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.

The decision of when to use SSI, and when to have your page entirely generated by some program, is usually a matter of how much of the page is static, and how much needs to be recalculated every time the page is served. SSI is a great way to add small pieces of information, such as the current time. But if a majority of your page is being generated at the time that it is served, you need to look for some other solution.

FreeBSD Basic accounts are configured by default to process Server Side Includes for any file ending in *.shtml. If you also want .html and .htm files to be parsed for server side includes, do the following:
  1. Create a .htaccess file in the html document directory (/webdocs/ or /htdocs/)
  2. Add the following "AddType" directive in the .htaccess file:
    AddHandler server-parsed .html
    AddHandler server-parsed .htm

Additional Documentation


A great How To on Server Side Include directives can be found at the Apache web site:
http://httpd.apache.org/docs/1.3/howto/ssi.html#basicssidirectives


Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2009  AlpineWeb Design