Welcome to WebmasterWorld Guest from 54.160.254.203

Forum Moderators: incrediBILL

Message Too Old, No Replies

ssi is not behaving correctly

ssi is not behavign correctly

     
3:41 pm on Jun 23, 2005 (gmt 0)

New User

10+ Year Member

joined:June 20, 2005
posts:24
votes: 0


Hi,

Iam a starter with ssi.
I have a webpage <SNIP>

in that i have included the ssi like
<!--#include file="header.txt"-->

in the root directory i have header.txt file
<SNIP>

since iam hosting on free account some other code inserted by netfirms.com was there

does this prevents the ssi from loading. I tested with local pc shtml viewer, iam able to see the ssi there but not when loaded in to the server.

also i tried with
<!--#include virtual="./includes/header.txt"-->

should the execution permision for these files should be x for others also?

i tried that also it doesnt worked?Iam i missing anything here?

thanks in advance
with rgds,
Abhisek

[edited by: BlobFisk at 3:44 pm (utc) on June 23, 2005]
[edit reason] No URLs please! See TOS [webmasterworld.com] [/edit]

6:52 am on June 29, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Hello Abhisek, and welcome to the forums. Sorry you went so long without a reply.

Are you certain your free host has ssi enabled for you?

6:11 pm on June 29, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


What do you see where the "include" line is? Nothing at all means indeed SSI is not enabled or functioning on your server, or you forgot to rename the file with an .shtml extension, which tells the server to parse the file and look for SSI commands. If you see "an error ocurred while processing this directive" you are doing something wrong. You shouldn't need executable perm's on an include file.
3:52 am on July 1, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 1, 2004
posts:190
votes: 0


Virtual begins looking in the root directory.

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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members