On Tuesday, January 30, 2018 at 7:27:02 PM UTC+1, Bengt Törnqvist wrote:
> With an earlier Raspian version I have succeeded in execution of cgi scripts.
Now it seems to me that the process to enable cgi execution has been modified.
>
...
>
> I kindly ask for assistance and advises.
Thank you all for your kind efforts to help.
The solution was, as advised, to use "/usr/lib/cgi-bin/test..." instead of
".test..." in the script. Thereafter the browser output became:
This is start of test.script
This is test1.script
This is end of test.script
I also learnt that the file test1.script must exist, in /usr/lib/cgi-bin, in
order for the script test.cgi to be able to write to the file test1.script. Is
there any way to configure, apache2 I assume, to allow writing to a
non-existing file?
I realize that allowing cgi scripts to access to what I am aiming at is
dangerous and has security issues. My experiments are however in a local
network without any connections to the outside world (the Internet).
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|