Unable to call shell script from apache httpd
I am trying to call shell script from 000-default.conf inside /etc/httpd/sites-available. The 000-default.conf file content is : <VirtualHost *:80> ServerName localhost DocumentRoot /var/www/html/ CustomLog "| sh /scratch/user/test.sh" custom_user_tracking </VirtualHost> My /etc/httpd/conf/httpd.conf has below content added: ServerName localhost LogFormat "%t [%h]…