httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KJ" <>
Subject Re: Setting up HTTPConfig for SSI
Date Mon, 22 Jul 2002 13:07:32 GMT
Try these settings in conf file....

Options FollowSymLinks Includes

**Alias or ur root folder**
Alias  /myweb/ "x:/www/"

    <Directory "x:/www">
        Options FollowSymLinks Includes         
        AllowOverride None
        Order allow,deny
        Allow from all

 AddHandler cgi-script .cgi

 AddType text/html .shtml
 AddHandler server-parsed .shtml
************************************************* (Test.shtml)
<HEAD><TITLE> Test Server Side Includes </TITLE></HEAD>
Current Date: <!--#echo var="DATE_LOCAL" -->
<P>Document Name: <!--#echo var="DOCUMENT_NAME" --> 
<P>Environmental Variables:<BR>
<PRE><!--#printenv  --></PRE>
Test this document.

  ----- Original Message ----- 
  From: Darrel 
  Sent: Monday, July 22, 2002 3:49 PM
  Subject: RE: Setting up HTTPConfig for SSI

  >What do you have in the .shtml file to call the dynamic content? 

  I am using:

  <!--#include virtual="assets/ssi/footer.ssi" -->


  >owen Boyle
  >>-----Original Message-----
  >>From: Darrel []
  >>Sent: Montag, 22. Juli 2002 03:00
  >>Subject: Setting up HTTPConfig for SSI
  >>I'm struggling with the proper way to tell HTTPConfig to run SSIs on my
  >>I've added the following to my config file:
  >>Options +Includes
  >>AddType text/html .shtml
  >>AddHandler server-parsed .shtml
  >>I've tried placing both 'loose' in the file prior to the virtualserver
  >>commands, and also within a virtual server declaration within a
  >><directory> tag, but neither allows me to actually process the shtml
  >>files on the server.
  >>I'm sure I'm missing something obvious here...

View raw message