How to redirect on apache after running a script through cgi
- by Yotam
I have an ubuntu machine which I have installed apache on. I want to use a web page to run some simple shell script through cgi and then go back to my home screen. I also want to the go-back step to be automatic. I have set a redirect in my apache.conf which works fine but the script doesn't run at all.
Is there a way to run the script and only then apply the redirect?
Comment:
I think this may be the answer but I'm not sure.