> Can you help me with a server-side include problem?
> 
> The index.shtml file is not "including" the articles mentioned in the 
> include statements. They do show up fine when I view source from the 
> resulting index.shtml page after the page has been rendered in the 
> browser. I know "include" is working because it is including other 
> files, albeit not from include statements generated by the .cgi script.
> 
> I think the problem lies in the fact I am returning include statements 
> to the browser, which somehow are not executed as includes.

Results from CGI scripts do not get parsed by the SSI handler on the 
server, only static files with certain extensions.

If you want to do this with includes, you'd have to write your 
resulting page to a file, then load the file in the browser, which 
would allow the servers SSI handler to execute the #includes.

Or, have the REBOL script itself include those files into the 
resulting page.

Cheers,
Kev

------------------------------------------------------------------------
Kevin McKinnon, Network Engineer                 [EMAIL PROTECTED]
Sunshine Communications                     http://www.sunshinecable.com

PGP Public Key: http://www.dockmaster.net/pgp.html   PGP 6.0 www.pgp.com

Reply via email to