Forum Moderators: bakedjake

Message Too Old, No Replies

SSI and paths. Some works, some not.....

         

Dan_Vendel

11:23 am on May 27, 2004 (gmt 0)



Hi all,

I'm building a site that's residing in a subdirectory och another site while testing. Let's call the "parent" site's root level for "A", and this developing site's main "root" directory for "B".

In "B", I have direcory "C1" which contains e.g. a menu file which is brought into the pages by SSI. At same level as "C1" I also have a folder - "C2" - with shtml pages.

If I have a shtml page in "B", the menu is being pulled in without problems. But when I open a shtml file in directory "C2", I get an error and the menu is absent.

In both cases, the paths are correct. I have even tried an absolute path from the shtml file in "C2" to the menu in "C1", but no go.

I also tried root relative paths (e.g. /foo/menu.html), but since the entire site is one level down from actual root, that didn't work at all.

Q: Why on earth is the SSI working in one case and not the other? Why not with an absolute path?

Any suggestion welcome.....

Cheers,
Dan

Dan_Vendel

12:28 pm on May 28, 2004 (gmt 0)



I suppose my elaborate jibberish was too difficult to follow... ;-)

Things seems to be solved, and I didn't do anything myself. It seems as if the host is parsing for SSI every few minutes. All I had to do was wait, and suddenly it was OK.

Strange...