homepage Welcome to WebmasterWorld Guest from 54.167.179.48
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
ssi is not behaving correctly
ssi is not behavign correctly
panaceapeace

5+ Year Member



 
Msg#: 10466 posted 3:41 pm on Jun 23, 2005 (gmt 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]

 

tedster

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



 
Msg#: 10466 posted 6:52 am on Jun 29, 2005 (gmt 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?

rocknbil

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 10466 posted 6:11 pm on Jun 29, 2005 (gmt 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.

BReflection

10+ Year Member



 
Msg#: 10466 posted 3:52 am on Jul 1, 2005 (gmt 0)

Virtual begins looking in the root directory.

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved