Gossamer Forum
Quote Reply
ssi parser
i have place the ssi call in the search.html templates but when i open search.cgi in my browser, the ssi did not show. when i view the source, it still show <!-- include virtual="examplefile.html" -->..

What should i do to make it work or should i change my .htaccess file.?
Portal My Islam
Quote Reply
Re: [Syalz] ssi parser In reply to
Dynamic cgi result pages are not parsed by SSI! It is not parsed for security reasons.
So you example works only on static HTML pages.

You have to place following Links include tag:
<%include ../../examplefile.html%>

Note, that the path is virtual from your template root, so you have to put into the Links template directory, or to use the ../ to step out from current template dir and include the file from there.

Best regards,

Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: May 18, 2002, 2:14 AM