[Xitami] Server side includes and directory listing templates

Michael Pierce xitami@lists.xitami.org
Tue, 4 Dec 2001 09:11:21 -0500


Hello,
   In my directory listing template "myhttpdir.gsl" I would like to run have
a server side
that runs a ".exe" on each file with a certain extension. The following
code:
.    if defined (type)
.       if type = "lnk"
.           <!-- #include virtual="/cgi-bin/resolvelnk.exe" -->
.       endif
.endif

Does not run the "resolvelnk" executable.

As you can probable guess I'm try to treat Windows links as close to real
links as possible.  I'm trying
process the link and return text that will give an "a href" link to the
proper directory.

Thanks for any help.