WebServer
Steve Revill (20) 1361 posts |
Hi all. Is there a RISC OS web server that can run local executables (obey files and the like) as CGI scripts? |
David Feugey (2125) 2709 posts |
WebJames. Example: http://www.riscos.fr/cgi-bin/uptime |
Steve Revill (20) 1361 posts |
Thanks, I’ll take a look. For the sake of completeness, the link I found to WebJames is here. |
Frank de Bruijn (160) 228 posts |
You may also want to look at the penultimate item on this page: |
Steve Revill (20) 1361 posts |
Cheers. |
David Feugey (2125) 2709 posts |
I have still some problems with WebJames. After a few weeks, it crashed, and the sockets are left opened, so no way to load the application again (no sockets available). My solution is to reboot the system (it only takes a few seconds). A better one would be to close all the opened – and not used – sockets, then to launch the application again. CleanOpenedFiles and CleanOpenedSockets commands would be useful here :) The possibility to open more sockets at the same time would be even better. Anyway, despite of this small bug, it works very well. |
John Sandgrounder (1650) 574 posts |
Whilst not doubting your reports, I can say that I have WebJames running on a Raspberry Pi continuously for many months at a time (albeit under light load). I use “Webjames Style” scripts written in Basic. Not the most effecient, but very quick and easy to code – and can communicate easily with other applications running on the same system. |