DevHeads.net

Postings by Kiorp Pilu

Running cluster side commands via Apache CGI scripts

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
modules to incorporate ?

Thanks,
Dann

Permission to enable CGI Scripts to do an I/O on the file system

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

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
<a href="http://www.avast.com" title="www.avast.com">www.avast.com</a>
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>