You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/07/11 16:07:39 UTC
DO NOT REPLY [Bug 10687] New: -
ssi include virtual strangeness
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10687>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10687
ssi include virtual strangeness
Summary: ssi include virtual strangeness
Product: Apache httpd-2.0
Version: 2.0.36
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: Major
Priority: Other
Component: mod_include
AssignedTo: bugs@httpd.apache.org
ReportedBy: abatko@cs.mcgill.ca
Hello.
I am experiencing a strange behaviour from SSI's ``#include virtual''
element/attribute. The following piece of HTML/SSI fails to include
(load) the intended html file (header.html), yet it does display the
date (indicating that ssi is working).
<!--#include virtual="common/header.html" -->
<h1>hello</h1>
Hello, today is <!--#echo var="DATE_LOCAL" -->
<h1>bye</h1>
</body>
</html>
Besides the error message on the webpage [an error occurred while
processing this directive], there is also a log message sent to
httpd-error.log:
File does not exist: /u16/ugrad/guide/public_html/common/header.htm
Yes, the 'l' is missing, whereas it does appear in the file name in
the code above.
I copied common/header.html to common/header.htm, and added some text
to header.htm to distinguish it from header.html. Upon reloading the
page (which calls for header.html), the file header.htm is loaded
instead.
My httpd.conf file does not contain .htm extensions - only .html ones.
I have the directive XBitHack set to 'on'.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org