Re: [htdig] HTTP headers in SSI (was: Last modified date revisited - Apache)

Subject: Re: [htdig] HTTP headers in SSI (was: Last modified date revisited - Apache)
From: Torsten Neuer (
Date: Wed Oct 04 2000 - 09:15:59 PDT

Gilles Detillieux wrote:
> According to Torsten Neuer:
> > You can emit HTTP Headers from SSI by using the flastmod element,
> > <!--#flastmod file="$DOCUMENT_NAME" -->
> > the echo element in conjunction with the LAST_MODIFIED variable,
> > <!--#echo $LAST_MODIFIED -->
> > the exec element in conjunction with a script that emits the header,
> > <!--#exec cmd="<script_name> $DOCUMENT_URI" -->
> Well, live and learn. I thought SSI output was limited to HTML, and not
> HTTP headers. Do SSI elements like those above need to be right at the
> top of the .shtml file to work correctly, or does Apache properly separate
> out the headers regardless of where they appear in the file?

AFAIK they are processed as they appear. Apache does not buffer
its output neither can it distinguish headers from content within


InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstraße 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail:            Internet:

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this. List archives: <> FAQ: <>

This archive was generated by hypermail 2b28 : Wed Oct 04 2000 - 09:20:17 PDT