navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

checking for SSI capabilities on server

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> checking for SSI capabilities on server
Page: [1]
 
vision2000

 

Posts: 532
From: USA
Status: offline

 
checking for SSI capabilities on server - 9/8/2003 14:20:01   
How can one check if SSI can be used on a server?

I uploaded a site using SSI but the SSI aspects don't show on the page.

The site works OK on another server.

Is there something that needs to be turned on on the server?

Thanks,
Herman
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: checking for SSI capabilities on server - 9/8/2003 14:38:28   
quote:

How can one check if SSI can be used on a server?


Quick test is:

Create a text document and type a line or two of text, something like "The quick sly fox jumped over the lazy brown dog". Save this file with the name ssi_test.txt.

Create another text file and type (or copy and paste) the following:

<HTML>
<HEAD>
<TITLE>SSI Test</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P>This is the SSI test</P>

<P><!--#include virtual="ssi_test.txt" --></P>

</BODY>
</HTML>

The line <!--#include virtual="ssi_test.txt" --> is an SSI Directive. It tells the server to read the text file and send whatever is contained within to the browser.

Save this file as testing.shtml. (In your text editor, go "File>Save as...". In the "File name" field, enter "testing.shtml". In the "Save as type" field, select "All files".) You may also need to create a file association so Windows will know what program to use to display .shtml files. Go "View>Folder options..." and click on the "File types" tab. Find "SHTML files" in the list of file types, highlight it and click "edit" to create the new file association, if necessary.

Upload both of the new files to your server and then load testing.shtml in your browser. If the page reads:

This is the SSI test

The quick sly fox jumped over the lazy brown dog

.....congratulations! Your server has support for SSI. If only the first line displays, you will not be able to use Server Side Includes on your site, although you should give your systems admin a call before abandoning all hope. Some hosts provide SSI capability only upon request.

_____________________________

Gil Harvey, 1947-2004

(in reply to vision2000)
vision2000

 

Posts: 532
From: USA
Status: offline

 
RE: checking for SSI capabilities on server - 9/8/2003 16:11:47   
Gil,

Wow! Thanks for the complete how to explanation.

Best Wishes,
Herman

(in reply to vision2000)
Page:   [1]

All Forums >> Web Development >> Server Issues >> checking for SSI capabilities on server
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts