|
Posted by Carolyn Marenger on 11/23/80 11:42
matty wrote:
> Hello, I have a simple question that is killing me. I have a site that
> displays content in three frames. A top frame which is the title of the
> page, a sidebar which is the menu, and the center is for content. I am
> currently using tables to display this content. I have in the past done
> this with ASP I believe but am not sure. I am looking for an eaiser way
> to display this content without using the frames tag or tables that need
> to be
> updated on every page. I basicly am looking for a template. For instance
> I only need to update the side bar menu once and it is propagated
> throughout the site. I am running this fram a Linux server w/ Apache. I
> looked at the Apache tut on their website at SSI but don't really know if
> this is what I want. I have tried creating a html file with the necessary
> code for the title and then I added <!--#include virtual="/footer.html"
> --!> to the page but it didn't work. Both files are in the same
> directory,
> I have already made sure that they see each other. Any thoughts on how to
> do this? Am I one the right path and it is a simple codeing error? If
> anyone has any links to good tutorials or the like I would be greatful.
> Thanks
>
> -Rules And Models Destroy Genuis And Art-
> -Caffiene is not a drug, its a food group-
If the file is in the same directory, you would want to specify:
<!--#include virtual="./footer.html"--> . The ./ refers to the current
directory. / alone refers to the root directory. You might also be
running into server issues, like SSI being disabled, or not configured
appropriately for your usage. SSI may restricted to a specific directory.
Those questions are better directed to your hosting company or to an apache
related news group.
But first of all, stick to the path you are on, and just fix the path. (A
little geek humour!)
Carolyn
--
Carolyn Marenger
Navigation:
[Reply to this message]
|