Re: [users@httpd] Permission to enable CGI Scripts to do an I/O on the file system

2017-08-11 Thread Kiorp Pilu
mporary file then you should consider using database since writing > arbitrary files from CGI scripts would otherwise cause concurrency and > security problems. > -- > > With Best Regards, > Marat Khalili > > On 11/08/17 00:29, Kiorp Pilu wrote: > > Hello, > > I h

[users@httpd] Running cluster side commands via Apache CGI scripts

2017-08-11 Thread Kiorp Pilu
Hello, I am in a linux environment. In my python code, I am trying to do : myScript.py - subprocess.call(["ls", "-l"]) This command is inside my CGI script. The script is called successfully, but this command wont run. How can I make the CGI script process server side commands ? Any special

[users@httpd] Permission to enable CGI Scripts to do an I/O on the file system

2017-08-10 Thread Kiorp Pilu
Hello, I have written a python script that will spit out a log file. This python script will be executed as a CGI script. I am able to run the python program, but not able to make it write to an output file. How can I enable Apache web server to do so ? Thanks, Dann