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
>!--#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