Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How do I use SSI in dynamic mode?

Quote Reply
How do I use SSI in dynamic mode?
I have edited the home.html template in Links SQL 2 to include the following SSI tag:
>!--#include virtual="cgi-bin/abcnews.pl?us" --<
(The <> brackets need to be reversed above, but where typed backwards above to allow the tag to appear)


When I look at the site dynamically from the links NG admin, (using page.cgi) the above ssi tag does not work. That is I get no error message and the tag does not show up as text on the browser. This happens even if the tag is incorrect and should generate an error.

I can "View Source" on the IE browser and the above tag is intact. I can save the source as "index.shtml" in my root directory and when I view that in the IE browser or by accessing STATIC from Links NG admin, the output from abcnews.pl appears correctly.

I have set the following options in the admin:

SETUP | Build Options | dynamic pages = yes
SETUP | Build Options | build_detailed = no
SETUP | Build Options | build_index = shtml
SETUP | Paths and URLs | build_root_path = /www/beaverheadriver/pages

So my question is, can server side includes be used when running Links SQL 2 in dyanamic mode using page.cgi?

And if so, what do I need to do differently?
--
Rob

Subject Author Views Date
Thread How do I use SSI in dynamic mode? BeaverheadRiver 1402 May 5, 2001, 3:05 PM
Thread Re: How do I use SSI in dynamic mode?
qango 1346 May 5, 2001, 4:00 PM
Thread Re: How do I use SSI in dynamic mode?
surfsafely 1335 May 5, 2001, 6:35 PM
Post Re: How do I use SSI in dynamic mode?
pugdog 1332 May 5, 2001, 8:43 PM