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

2017-08-11 Thread Marat Khalili
> So, there's no way of creating a log file in the default directory or some > special directory ? Apache usually logs stderr of CGI scripts to its error log, you can use this. If you give any file or directory the permissions you observe on your /tmp file (something like writeable by group

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

2017-08-11 Thread Kiorp Pilu
Hello Marat, Thanks for the comment. Yes, I am in the linux environment on a cluster. Tested your idea. 1. The script works, but no output file is written on the cluster i.e. earlier I can't see anything in the console of my browser, now I see that the script executes successfully read off from

[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

Re: [users@httpd] Disable Autoindex module

2017-08-11 Thread David Wright - NOAA Affiliate
Thanks for your help I managed to solve it I had to comment out #IndexOptions FancyIndexing HTMLTable VersionSort plus a load of AddIcon Seems to work OK now Thanks Again On Fri, Aug 11, 2017 at 11:09 AM, Yehuda Katz wrote: > The server might not start because removing the

Re: [users@httpd] Disable Autoindex module

2017-08-11 Thread Yehuda Katz
The server might not start because removing the module leaves an invalid configuration somewhere. If you run httpd -t or look in the error log, it should tell you where the problem is. - Y On Fri, Aug 11, 2017 at 12:01 PM, David Wright - NOAA Affiliate < david.e.wri...@noaa.gov> wrote: > Dear

[users@httpd] Disable Autoindex module

2017-08-11 Thread David Wright - NOAA Affiliate
Dear Experts Hi I am new to Apache configuration. I have been tasked to set up a Development and Production Apache Server running on RHEL to run a Drupal website. I now have it up and working but now I have to secure the server we use NESSUS vulnerability scanner to to find vulnerability's in the

Re: [users@httpd] Unreliable Fedora 26 installation using a kickstart file

2017-08-11 Thread Yehuda Katz
I think you might have the wrong list... Sent from a device with a very small keyboard and hyperactive autocorrect. On Aug 11, 2017 2:56 AM, "fedora" wrote: > Dear listers > I never had such an unreliable installation as the one for fedora 26. I am > a long time user of fedora

[users@httpd] Unreliable Fedora 26 installation using a kickstart file

2017-08-11 Thread fedora
Dear listers I never had such an unreliable installation as the one for fedora 26. I am a long time user of fedora (at least since 2003). The HW here: 1. Workstation with two disks, each having its own fedora installation. On each fedora bare-metal installation there is a fedora installation

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

2017-08-11 Thread Marat Khalili
You didn't specify system, so I assume it's a standard Linux installation. CGI scripts by default run with permissions of the web server, which are intentionally limited. However, you can create new files and directories in /tmp, possibly using tempfile module. If you want more than just a