httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10687] New: - ssi include virtual strangeness
Date Thu, 11 Jul 2002 14:07:39 GMT
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


Mime
View raw message