On Tue, 14 Nov 2000, Nicholas Clark wrote:
> On Tue, Nov 07, 2000 at 12:20:10PM +0000, Alex Waugh wrote:
>
> > I am intending to add some sort of AddHandler directive (a la Apache) to
> > WebJames and this may allow some sort of customisation of the *command
> > used to run each filetype, so then perl scripts could be run directly
> > rather than through the alias$@runtype system.
>
> An alternative hack is to make the Alias$@RunType run not-in-a-taskwindow
> and have a desktop task listening out for the Wimp message broadcast when
> a file is double-clicked, acknowledging that message for the perl filetype
> and issuing a *taskwindow command for the script.
> That would mean that files with the same filetype would be run in
> taskwindows when double clicked in the desktop, but not when run from
> the server.
Or make the alias$@runtype check for the existance of CGI variables, if if
any are found the run sungle tasking, else start a taskwindow.
This would assume that the CGI variables only exist when running a CGI
script, which is not the case currently with WebJames, but could easily be
changed.
Alex
--
Alex Waugh Electronics student [EMAIL PROTECTED]
RISC OS freeware at http://www.ecs.soton.ac.uk/~ajw498/