How do I configure my server
to allow server side includes
from any directory?

   Site

   Server


You must alter a configuration file.

Before you proceed, read about configuration files for your http server. You'll find information in the virtual server handbook you received when you ordered a server. Also, don't overlook the source. Your web server software is NCSA HTTPD 1.5.1. You'll find helpful information on NCSA's pages.

To allow CGI's to be executed from any directory do the following:

  1. Uncomment out the following "AddType" directive in the srm.conf file:
    AddType text/x-server-parsed-html .html

    You may want to add a Type for .htm files:
    AddType text/x-server-parsed-html .htm

  2. Add an Includes option to the Options for your Root Document declaration in the access.conf file:
    Options Indexes FollowSymLinks Includes



HOME | SITE HOSTING | VIRTUAL SERVERS | PAGE DESIGN | FAQ | ORDER | TECH SUPPORT


Copyright © 1996, Sphynx Web Solutions. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders. Direct questions or comments to webmaster@sphynx.com.