Thanks Lucamar and Leledumbo!.
Very interesting your answers. I like the Lucamar option to compile source code as Apache module. Will give me speed, only one instance loaded in memory, and internal cache techniques implemented by Apache/Nginx by default.
At this point, I have read the link and I compiled the test .so hello world. I can load module in Apache, but I can't find how execute the code accessing to domain or parameter..., I'm lost here. How I can view the hello world test?.
I can convert an CGI application in to Apache module as an easy way?, or I need to write all code related to handle, hook...?.
Thanks!!