473,327 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Use of includes / virtual

Hello--

I have an .html page that I'm trying to use a SSI (footer) and other headers, but it's not showing up. I've tried multiple combinations, but nothing is working. I understand the differences between the two...

<!--#include file="footer.html"-->
<!--#include file="footer.shtml"-->
<!--#include virtual ="/includes/footer.asp" -->
<!--#include virtual ="includes/footer.asp" -->
<!--#include virtual="footer.html"-->
<!--#include virtual="footer.html"-->
<!--#include file="footer.asp"-->
<!--#include virtual ="includes/footer.asp" -->
<!--#include virtual ="includes/footer.shtml" -->

I've got my footer in the same directory as my index page and I also got the footer in the /includes/ directory. I've tried naming the page that calls this file: index.html and index.htm... I'm beginning the think that the issue lies on the server.

I'm running out of ideas!
Mar 28 '07 #1
2 2684
KevinADC
4,059 Expert 2GB
most servers force you to use a .shtml or .shtm extension for pages with SSI tags, so try renaming your pages accordingly and see if that helps:

index.shtml
Mar 29 '07 #2
KevinADC
4,059 Expert 2GB
I'm not sure but I don't know if you can use a shtml document in an SSI tag:

<!--#include virtual ="includes/footer.shtml" -->

I mean you can, but I don't know if any SSI tags contained in the footer.shtml page will be parsed or not. Worth a try though.
Mar 29 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jason | last post by:
Will this work - dynamic determination of root (local or web host) and consume this in include file anywhere. I am concerned about dynamic construction of virtual absolute include in the consuming...
7
by: jason | last post by:
I am getting twisted by the possibility that my virtual includes which currently work great on non-domain remote IP will crash if I purchase a domain and point it to one of my designated...
1
by: Trevor | last post by:
I am writing a mail order site using includes and nested includes for ASP code. I have no idea if this is rendered without error in all browsers. Does anyone have any idea on this? eg <tr>...
25
by: Martin Walke | last post by:
Hi, This may seem like a client side problem but.... I have web pages that are made up of a number of javascript include files as well as 'in page' script. They all work fine running locally...
1
by: Steve | last post by:
Hi, I am a newbie to ASP.NET, and just recently started ASP. I have several Questions. 1. I am creating a web page with two drop down lists, which draw data from the database depending on...
1
by: Jay | last post by:
I have a situation where using includes in an ASP.NET page does what I need. I know that someone understandably is going to say why don't you use UserControls. There are two reason. UserControls...
6
by: William F. Zachmann | last post by:
We've got a project going that involves moving an old web site with a massive dll written in C++ that produces most of the output from a SQL 7.0 data base on NT4 onto IIS on Windows 2003 Server...
3
by: Jeff | last post by:
I have an asp page. Now I know this is sortof OT, but I am not sure of the forum to get an answer. I have an include on this asp page <!-- #include file=\forum\includes\consts-inc.asp --> ...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.