I have written two C++ fastcgi applications (foo and foobar). I am running apache 2.2 (prefork) with mod_fcgid on Ubuntu 10.x.
I want to be able to setup apache so that:
http://mywebsite/some/path1?param1=value1¶m2=value2
will run the fastcgi app foo
AND
mywebsite/another/path1?param1=value1¶m2=value2
will run the fastcgi app foobar
Note: The url above is intentionally invalid (missing the protocol type), since I cant post more than 1 link in this question.
How do I setup apache to achieve this?