[users@httpd] Apache 2.4 mod_ratelimit breaks mod_autoindex

2018-08-29 Thread Aram Akhavan
I'm trying to use mod_ratelimit to enable bandwidth limiting on my entire apache server. If I add the following to my apache2.conf: |SetOutputFilter RATE_LIMIT SetEnv rate-limit 1024 SetEnv rate-initial-burst 1024 | my indexes stop

[users@httpd] Environment variables not being set by php module

2018-02-20 Thread Aram Akhavan (Aram.Akhavan)
Hi, I'm trying to set an environment variable and run a program via php when the page is loaded. This command runs fine when I use the php interactive shell:///|putenv('TS_SOCKET=/tmp/test.socket'); echo exec('tsp');|/ However, if I wrap that with php tags, throw it in a .php file and acces