Re: Includes
by "Rayne Alburquerque" <rayneal(at)home.com>
|
Date: |
Tue, 2 May 2000 20:34:44 -0500 |
To: |
"Dennis Lapcewich" <Dennis.Lapcewich(at)unisa.edu.au>, "HGW-Basics" <hwg-basics(at)hwg.org> |
References: |
edu |
|
todo: View
Thread,
Original
|
|
Hi,
The site is on an Apache server. Here is my http header:
HTTP/1.1 200 OK
Date: Fri, 21 Apr 2000 04:21:44 GMT
Server: Apache/1.3.9 (Unix) FrontPage/4.0.4.3 Rewrit/1.1a
ApacheJServ/1.0b5 PHP
/3.0.12
I use the "#include file", should I use "#include virtual" instead?
Thanks,
Rayne
----- Original Message -----
From: Dennis Lapcewich
To: HGW-Basics
Cc: 'Rayne Alburquerque'
Sent: Tuesday, May 02, 2000 7:32 PM
Subject: RE: Includes
Could you please be more specific?
Is the site on an Apache server? Which version?
I use includes on a site using Apache and use the following:
<!--#include virtual="/includedirectoryname/includefilename.shtml" -->
where the site map is:
http://www.somplace.com/welcome.shtml
An absolute address to the above include would be:
http://www.somplace.com/includedirectoryname/includefilename.shtml
I use .shtml with the include in this case becase it may contain additional
includes.
HTH
Dennis
> -----Original Message-----
> From: Rayne Alburquerque [mailto:rayneal(at)home.com]
> Sent: Wednesday, May 03, 2000 8:56 AM
> To: HGW-Basics
> Subject: Includes
>
>
> I am having problems with my includes. Can I not refer to the file as:
> "../includes/country-footer.html"?
>
> It works okay when it is in the main directory and I'm
> calling it in another
> directory like: includes/country-footer.html, but when I have
> to go back a
> directory using ../ it won't pick it up. I even tried
> specifying the entire
> URL and it still doesn't pick it up.
>
> Should it or is that something that it just doesn't do? It
> would seem dumb
> to have the same file in all directories just to be able to
> recognize it.
>
> Thanks,
> Rayne
>
>
>
> Rayne Alburquerque
> rayneal(at)home.com
> http://www.raynebair.com/
> Help feed the hungry people of the world.
> Give a free donation of food at http://www.thehungersite.com
>
>
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA