I have installed Ciao-Prolog and the PiLLoW libraries on a PC running Windows 95. I'd like to use the PiLLoW library to create forms and dynamic web pages. But I've been unable so far to determine how to configure the system to do so. Does anyone know how to configure Windows PWS (Personal Web Server) to run PiLLoW pages?
I know that for example, to execute Perl CGI programs, it is necessary to add a Windows registry entry of Key Value ==== ============== ".pl" Perl.exe %s %s
AFAIK the first %s corresponds to a perl file to be executed (e.g., myprog.pl) while the second corresponds to the passed incoming POST or GET information. In response, Perl.exe outputs (CGI output) data to the default output file handle, which is routed back to the web server and then to the browser. Perhaps with the proper settings a similar effect can be achieved with ciaoengine.exe or another of the ciao programs?
One side effect of DOS commandline execution of a Pillow executable is creation of a file with the same name as the executable, but with the file extension of ".html". E.g., executing ciaoengine -C -b html_demo.cpx from the DOS commandline creates a file named "html_demo.html". In this respect, ciaoengine's behavior differs from that of perl.exe, which outputs the data to the DOS standard output file handle.
Related questions: Can the Apache for Windows web server be configured to run PiLLoW pages? Is anyone using some other web server on Windows 95 to run PiLLoW pages?
I have installed Ciao-Prolog and the PiLLoW libraries on a PC running Windows 95. I'd like to use the PiLLoW library to create forms and dynamic web pages. But I've been unable so far to determine how to configure the system to do so. Does anyone know how to configure Windows PWS (Personal Web Server) to run PiLLoW pages?
I know that for example, to execute Perl CGI programs, it is necessary to add a Windows registry entry of Key Value ==== ============== ".pl" Perl.exe %s %s
AFAIK the first %s corresponds to a perl file to be executed (e.g., myprog.pl) while the second corresponds to the passed incoming POST or GET information. In response, Perl.exe outputs (CGI output) data to the default output file handle, which is routed back to the web server and then to the browser. Perhaps with the proper settings a similar effect can be achieved with ciaoengine.exe or another of the ciao programs?
What version of Ciao are you using?. If you have correctly instaled a recent version, the Windows registry should have an entry similar to the one you show for Perl, for extension .cpx (Ciao executables).
One side effect of DOS commandline execution of a Pillow executable is creation of a file with the same name as the executable, but with the file extension of ".html". E.g., executing ciaoengine -C -b html_demo.cpx from the DOS commandline creates a file named "html_demo.html". In this respect, ciaoengine's behavior differs from that of perl.exe, which outputs the data to the DOS standard output file handle.
This is not a standard feature of Pillow, although some examples may be programmed to behave that way.
Can the Apache for Windows web server be configured to run PiLLoW pages?
Any Web server that can be configured to run perl programs should be configurable to run PiLLoW programs.
Daniel Cabeza