AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > VPS v1 > Webserver > Configuration > Tuesday, January 06, 2009

Apache Server Side Includes


To allow server side includes (SSI) in any directory do the following:
  1. Uncomment out the following "AddType" directive in the ~/www/conf/httpd.conf file on your Virtual Server 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 ~/www/conf/httpd.conf file:
    Options Indexes FollowSymLinks Includes
  3. Restart your web server:
    % restart_apache

Technical Support
° Getting Started Guide
  FreeBSD
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  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