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: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Wed Oct 04 2000 - 09:11:27 PDT


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?

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



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