FastCGI + Apache: How to map a url to a specific fastcgi binary

Posted by skyeagle on Server Fault See other posts from Server Fault or by skyeagle
Published on 2011-01-03T19:17:21Z Indexed on 2011/01/03 19:55 UTC
Read the original article Hit count: 720

Filed under:
|
|
|

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&param2=value2

will run the fastcgi app foo

AND

mywebsite/another/path1?param1=value1&param2=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?

© Server Fault or respective owner

Related posts about apache

Related posts about apache2