PDA

View Full Version : any apache gurus? I need help setting up SSI



blueindian
09-11-2006, 07:09 PM
total apache n00b, here's my setup:

1. apache default install on WinXP (Media Center Edition, if that matters)
2. root directory is:
<Directory "C:/Documents and Settings/richard/My Documents/business/websites">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all



</Directory>

3. I created a .htaccess file in the root directory with:
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

4. have a test.shtml (in the root directory) file with:
blah blah blabhasdklfjas;ldfjas;ldkfj;laskdjf;lasdjfk


5. which is included like this, from a file in the same directory:
<!--#include virtual="test.shtml" -->


but the file does not get included. what givs?