I need a little help here folks. I'm trying to get SSI working on the
apache on my laptop. I've tried both 1.3.29 and 2.0.43, and neither wants
to parse the statements, despite my best efforts.

Here's a sample of my .shtml code:

<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF00FF"
alink="#FF0000">
<!--#include virtual="/amgen/logo.html"-->
<br><font size="4">American General Finance - Account
Access</font><br><br><br>
<br>Welcome to American General Finance. Please enter your login
information below.<br>

The <!--#include statement is supposed to load a page that displays a logo
bar above as well as the top nagivation menu. But when I dispaly the page
in mozilla (yes, through the httpd, not directly) it does not include the
code. In fact, the <!-- is contained in the page sent to the browser.  I'm
really confused here.  I have added all the config elements that the
apache docs say are needed, both in 1.3 and 2.0, even tried the xbit hack
(and yes I made sure the execution bit was set). Nothing makes apache
parse the SSI statement correctly.


Help?

Here's the relevant code in my 1.3 conf file:

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


or from the 2.0 file:

<Directory />
  Options -All -Multiviews +Includes
  XBitHack on
  AllowOverride None
  <IfModule mod_access.c>
    Order deny,allow
    Deny from all
  </IfModule>
</Directory>

[ later in file ]

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml


Any help is greatly appreciated!

--- Dan



--
[EMAIL PROTECTED] mailing list

Reply via email to