Welcome to WebmasterWorld Guest from 54.147.10.72

Forum Moderators: incrediBILL

Message Too Old, No Replies

ssi is not behaving correctly

ssi is not behavign correctly

     

panaceapeace

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

10+ Year Member



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]

tedster

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

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



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?

rocknbil

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

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



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.

BReflection

3:52 am on Jul 1, 2005 (gmt 0)

10+ Year Member



Virtual begins looking in the root directory.

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

Featured Threads

Hot Threads This Week

Hot Threads This Month