Re: [SLUG] html/apache question

From: billt (billt@ifelse.org)
Date: Tue Jul 24 2001 - 10:22:34 EDT


On Tue, Jul 24, 2001 at 09:27:24AM -0400, Grantham, Patrick wrote:
> I don't as yet understand why this is happening.
> in index.html
> .
> .
> .
> <p> <!--#include virtual="toolbar.html" --> </p>
> .
> .
> .
>
> CORRECTLY includes and displays the contents of toolbar.html. However, when
> the same file is copied to say parts.html (same location only different
> name) only the string:
> <!--#include virtual="toolbar.html" -->
> is displayed.
>
> No errors, it's just ignored. Why? Any ideas

You copied toolbar.html to parts.html or index.html to parts.html, if
the former then it needs to be

#include virtual="parts.html"

I thought that by default server-parsed html ended in .shtml
instead of html. Doesn't explain why it works with index.html,
though, but just a thought.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:44:22 EDT