0

I'd like to run a server that 'delegates' certain requests to a C++-Script via FastCGI - how can I configure Apache to do so? It would just be enough to redirect requests to a specific page I could define in some config-file, but unfortunately I don't know which and how.

I'd be glad if someone could help - Thanks.

1
  • Probably better for ServerFault
    – Mike Brant
    Oct 24, 2012 at 0:36

1 Answer 1

1

The canonical way to go, is to simply use a different suffix for the "special" pages and use an AddHandler directive to your apache configuration. Assuming the "special" pages have a suffix of .fcgi you would need

LoadModule fastcgi_module modules/mod_fastcgi.so
AddHandler fastcgi-script .fcgi
1
  • The suffix-solution is definitely possible - didn't expect it to be that simple! I'll try it out, thanks for your help.
    – David
    Oct 24, 2012 at 0:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .