Bluehost.com Web Hosting $6.95

server side includes

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-15-2004
kai
 
Posts: n/a
Default server side includes

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!!!

  #2 (permalink)  
Old 12-16-2004
Phil Frisbie, Jr.
 
Posts: n/a
Default Re: server side includes

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

  #3 (permalink)  
Old 12-16-2004
Kees Nuyt
 
Posts: n/a
Default Re: server side includes

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[_]
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0