[Xitami] Using a CGI for a default web page?
Magnus Wedberg
xitami@lists.xitami.org
Thu, 07 Apr 2005 14:24:54 +0200
> >[Server]
> >default1=index.html
> >default2=index.htm
> >default3=index.php
> >default4=index.php3
> >default5=default.htm
> >default6=index.shtml
> >default7=/cgi-bin/indexer.exe
>
>
> The defaults are webpages, they apply to all directories when the
> filename is not specified.
>
> "If no filename is specified, look for default1 in requested
> directory, if not present look for default2, ..."
>
> I'm not sure Xitami can handle directories.
I'm pretty sure it can't. The solution (if any) to this is probably
to set up a filter that maps .exe to "cmd.exe /c" or something like
that. I haven't done it in Xitami, but I vaguely recall that I did it
in Netscape FastTrack some time back in the dark ages.
You may have to wrap it in a batch file, too (map extension .exe to
startcmd.bat which contains
@echo off
cmd.exe /c %1
..and that should be it).
--
Magnus Wedberg
http://www.magnuswedberg.com/
mw AT 9000.org
Warning! Objects in viewfinder may be closer than they appear.