User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 426,856 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,189 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting

footer and nav include

Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,910
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: footer and nav include

  #3  
Feb 25th, 2004
What you are doing by including files is called SSI, server side includes. Normally files which use SSI have an *.shtml extension but sometimes an *.html extension is supported as well.

SSI, as its name suggests, is performed server-side. Therefore, the server hosting the files needs to support it. Apparently the remote hosts you are using support SSI but your local computer does not, and therefore it won't work locally. That's okay - just upload the files and it should all work.

It's similar to how a web dev language such as PHP operates. You can't execute PHP code locally without installing Apache or the like on your home machine.

If you wish to be able to test SSI out locally, install the Apache server (windows version) on your home machine. Otherwise, create a folder no one knows about on your remote host to do testing
Reply With Quote  
All times are GMT -4. The time now is 9:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC