RE: [SLUG] html/apache question

From: Grantham, Patrick (Patrick.Grantham@vacationclub.com)
Date: Tue Jul 24 2001 - 11:12:19 EDT


I wasn't being clear.
index.html has a server side include to toolbar.html
the only difference between parts.html and index.html is their name. I
literally did a "save as" to the same folder. They exist is the same
folder.

-----Original Message-----
From: billt [mailto:billt@ifelse.org]
Sent: Tuesday, July 24, 2001 10:23 AM
To: slug@nks.net
Subject: Re: [SLUG] html/apache question

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:58 EDT