Re: [Cppcms-users] Integrated FastCGI module
Brought to you by:
artyom-beilis
From: Lee E. <lee...@gm...> - 2012-12-17 21:32:19
|
Also developing your app as an cppcms app does not prevent your app from working as anything else - since you are the one building the main function. On Mon, Dec 17, 2012 at 8:23 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > Hi, > > You can develop your application as a cppcms application and lighty > can use that application as fastcgi application. You can find > configuration options in documentation section. > > Hope this helps. > > Regards, > Shiv > > On 12/17/12, Sab <rim...@gm...> wrote: > > Hi All, > > > > I would like to create a connection between a Webserver (Lighty) and an > > already > > existing C++ application. Both web server and the application run on the > > same > > system, an embedded linux platform. Next to it’s regular tasks, the > > application > > would need to monitor the user’s HTTP-Requests and allow or deny them > > according > > to the rights of the currently logged in user. I figured FastCGI could be > > the > > answer as it can be configured to run in "authorizer" mode, which seems > to > > be > > matching what I need. > > > > So now I’m trying to find out how to integrate a FastCGI-Module into my > > existing > > application. As the database, where the user rights are stored is part > of my > > application, I would like the fcgi module to run IN the application, in a > > separate thread, instead of as a separate executable. I see the common > usage > > is > > the later but that wouldn’t work for me. > > > > I checked the FastCGI DevKit library "fcgiapp" and found that the module > has > > to > > be either launched by the server (bin-path) or if I want to make it run > > independently from the web server, it has to be started with spawn-fcgi. > Non > > of > > these options seems to help in my case, because as mentioned, the module > has > > to > > be a PART of my existing application. > > > > Does CppCMS support also only stand alone modules? Or would CppCMS help > in > > the > > realization of the above mentioned constellation? Does it support the > > Authorizer > > mode and allow me to parse the header of the request (uri, > > operation:GET/POST/DELETE..., user name, password)? > > > > I would very much appreciate any tip or comment, in which direction I > should > > start. > > > > Thanks, > > Sab > > > > > > > > > ------------------------------------------------------------------------------ > > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > > Remotely access PCs and mobile devices and provide instant support > > Improve your efficiency, and focus on delivering more value-add services > > Discover what IT Professionals Know. Rescue delivers > > http://p.sf.net/sfu/logmein_12329d2d > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > -- > Best regards, > Shiv Shankar Dayal > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- -- lee Lee Elenbaas lee...@gm... |