GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Server Side Includes

bullet Introduction
Server Side Includes (SSIs) are simple directives embedded into HTML documents that instruct a Web server to dynamically include data in the HTML document.

 

bullet Configuration
To configure the Virtual Private Servers Apache Web Server to allow server side includes in any directory, connect to your Virtual Private Servers via Telnet or SSH and do the following:
  1. Uncomment the following AddType directive in the web server configuration file (~/www/conf/httpd.conf) on your Virtual Private Servers to designate that all .shtml files be parsed by the web server for server side includes:

    AddType text/html .shtml
    AddHandler server-parsed .shtml


    If you also want .html and .htm files to be parsed for server side includes, add the following lines:

    AddHandler server-parsed .html
    AddHandler server-parsed .htm
    

     

  2. Add an Includes option to the Options for your Root Document declaration (<Directory /usr/local/etc/httpd/htdocs>) in the web server configuration file (~/www/conf/httpd.conf):

    Options Indexes FollowSymLinks Includes
    

     

  3. Restart Your Web Server


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.