Gilles Detillieux wrote:
>
> According to Roger Weiss:
> > From what I can glean, there are 2 ways to get this.
> >
> > Either by putting an echo command into the html files (SSI),
> > or by setting xbithack=full and setting the executable bits on for group and
> > user.
>
> No, the XBitHack turns .html files with execute permission into SSI
> files (equivalent to .shtml), and for SSI files, Apache does NOT put
> out a Last-Modified header because SSI generates dynamic content. To my
> knowledge, you can't put out HTTP headers from an SSI file, so I don't
> think this is the way to go.
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" -->
cheers,
Torsten
--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstra�e 14 Tel: +49-4101-403605
D-25474 Ellerbek Fax: +49-4101-403606
E-Mail: [EMAIL PROTECTED] Internet: http://www.inwise.de
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
FAQ: <http://www.htdig.org/FAQ.html>