This is a discussion on server side includes within the Windows Web Servers forums, part of the Web Server and Related Forums category; I have a Windows 2000 server running the latest updates, security wise and for iis 5.0. I have a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a Windows 2000 server running the latest updates, security wise
and for iis 5.0. I have a simeple web-page that has server side include called "footer.inc" the file using the include is called "index.html". Here is how i'm referencing the include: <!-- #include file="\includes\footer.inc" --> I did register the file-extension with the server and attached "ssinc.dll" executable\library to it. The page is not parsing the include, I can see the title of the page but not the include. Help!!! |
|
|||
|
kai wrote:
> I have a Windows 2000 server running the latest updates, security wise > and for iis 5.0. > > I have a simeple web-page that has server side include called > "footer.inc" the file using the include is called "index.html". Here > is how i'm referencing the include: > > <!-- #include file="\includes\footer.inc" --> <!--#include file="\includes\footer.inc" --> ^^ no space here! Also, I never use 'include file', I use 'include virtual' on my sites. I do not remember the details why, but my includes look like this: <!--#include virtual="/includes/footer.inc" --> > I did register the file-extension with the server and attached > "ssinc.dll" executable\library to it. > > The page is not parsing the include, I can see the title of the page > but not the include. > > Help!!! -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com |
|
|||
|
On 15 Dec 2004 10:20:21 -0800, "kai" <jedi_knight_az@yahoo.com>
wrote: >I have a Windows 2000 server running the latest updates, security wise >and for iis 5.0. > >I have a simeple web-page that has server side include called >"footer.inc" the file using the include is called "index.html". Here >is how i'm referencing the include: > ><!-- #include file="\includes\footer.inc" --> -----^ Remove this space. Remember Apache expects a reference to a filename, not a location. The delimiters in directory paths should be slashes, not backslashes. >I did register the file-extension with the server and attached >"ssinc.dll" executable\library to it. > >The page is not parsing the include, I can see the title of the page >but not the include. > >Help!!! Hope this helps ... -- ) Kees Nuyt ( c[_] |