Re: [users@httpd] Script behaving differently when run by Apache and when run from a shell by user www-data?

2024-01-24 Thread EML
Hi Alan - spot on; thank you. To save having to learn about namespaces I've just started Apache without 'PrivateTmp' in the service file, and the script now works as expected (and 'lsns' no longer shows Apache as having its own mount namespace). journalctl also now shows that systemd unmounts

Re: [users@httpd] Apache/php Compression not enabled

2024-01-24 Thread Eric Covener
If you put gibberish in the .htaccess, do you get a 500 error or do things still work? It's a quick test of whether it's being loaded or not for your request. Do you use mod_php or something fastcgi based? I think some of the fastcgi methods do not work with htaccess. ---

[users@httpd] Apache/php Compression not enabled

2024-01-24 Thread Franciscus van Meelis
Hi Apologies, I'm figuring this out as I go along, so I might state the obvious, or not state something that I should. We've deployed an application to a hosted linux server running CentOS v7.9.2009 standard kvm, I have full access to this via whm, cpanel, putty, and ftp. The application's

Re: [users@httpd] Script behaving differently when run by Apache and when run from a shell by user www-data?

2024-01-24 Thread Curry, Alan
On 1/23/2024 3:58 PM, EML wrote: > What's interesting here is that CGI appears to be doing something more > complex than simply forking a process. The script which is the problem > has an EUID of 0, so why can't it unmount a filesystem? Have I just > messed up (probably?) Or has Apache run me /wit