How to redirect on apache after running a script through cgi

Posted by Yotam on Stack Overflow See other posts from Stack Overflow or by Yotam
Published on 2012-06-16T16:17:40Z Indexed on 2012/06/17 9:16 UTC
Read the original article Hit count: 178

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about apache

Related posts about redirect