Includes (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


fritzeg -> Includes (3/22/2001 20:01:00)

At work we use server side includes, but I'm creating a site for a friend and the ISP doesn't support ASP technology. I used the FrontPage includes in the FrontPage view, but when I publish the pages to the ISP's server they don't appear. Also, when I choose Preview In Browser the includes do not appear. Any ideas of what I'm doing wrong?




Gil -> RE: Includes (3/22/2001 20:25:00)

How about a URL?

Just curious - what does ASP have to do with SSI?

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Never miss a good chance to shut up"





Guest -> RE: Includes (3/23/2001 20:34:00)

Maybe I don't understand what's required. We use active server pages here and I understood they were a server side include that required a special server extension. This new server doesn't have the extensions so doesn't support active server pages (so I'm told), but the FrontPage reference I have says that this Include Page "Page-Level FrontPage Component" doesn't require any server extensions. I originally built the new site using asp pages, but once I found they were't supported had to strip all the include coding out so I've just got one page that I was fiddling with to get the includes to work on:
http://members.home.net/tinamacmodels/females/test.html
Sorry for my ignorance, maybe I'm not using the correct terminology.




abbeyvet -> RE: Includes (3/23/2001 23:25:00)

A server side include is something used to, amoung other things, include one page within another - much like the frontpage 'Include Page' function but using different code.

The code for using a server side include would be something like:
<!--#include virtual="/directoryname/filename.htm"-->

SSI - or serverside includes - have nothing at all to do with FP server extensions and are supported by the vast majority of hosts.

ASP or active server pages are cretaed using a database and must be on a Windows NT server to function.

If you were previously using FP includes then as far as I understand these do not need server extensions to function but if they are giving problems look at the possibility of using SSIs instead - the effect is identical.

If your host does not allow you to use even SSI then I would high-tail it out of there and move somewhere else.


------------------
Katherine

InKK Design
LinKKs - Kilkenny's Online Magazine


-*-*-*-*-*-*-*-*-*-*
"Dogs have owners, cats have staff!"





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625