skip to Main Content

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]…

VIEW QUESTION

apache redirect based on a form values

I have an old web application that is fronted with Apache/2.2.34. I plan on using RewriteEngine and RewriteRule to redirect some requests without updating the application. However, one of the rules I need is dependent based off of form values.…

VIEW QUESTION
Back To Top
Search