[Cppcms-users] getting started..again
Brought to you by:
artyom-beilis
From: Keith K. <kk...@gm...> - 2011-12-21 03:48:45
|
Marcel, thanks for the reply, I had just joined the list and had settings wrong so I didn't get your reply directly but found it in the digest archive and have pasted it below.. Anyway, I can install programs in my home directory but I cannot directly edit httpd.conf. I can add apache handlers through a very basic interface, it lets me give two arguments, through a config page with an "Addhandler" form. So I have successfully added a handler 'fastcgi-script' for .fcgi extensions, but how do I test that for example with the hello_world app that I've built ? I haven't found any doc yet on running the example programs that get built with cppcms. thanks, Keith Message: 2 Date: Mon, 19 Dec 2011 22:57:21 +0100 From: Marcel Hellwig <ke...@co...> Subject: Re: [Cppcms-users] any "getting started" docs? To: cpp...@li... Message-ID: <4EE...@co...> Content-Type: text/plain; charset="utf-8" First: Can you compile and install apps? If not, it would be hard. Second. Can you edit httpd.conf (or similar), so you can start cppcms as fastcgi? If yes, this is something for you! http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_tut_web_server_config#Apache Regards, Marcel Hellwig Keith Kaple <kk...@gm...> schrieb: Hello All, I was happy to find cppcms since I have some c++ background from a few years ago and would like to use it for some "cloud apps" potentially. But I'm a little rusty ;-) The architecture doc says: # Architecture of CppCMS framework Application flow: - Several forked processes listen on the socket of cgi-like protocol: scgi, fcgi, http; - One of the processes accepts new connection and starts reading headers of the request. ... That implies to me that the process created with cppcms framework services the http request by itself, is that correct? I'm struggling a little with how to integrate cppcms with my hosting provider (bluehost.com <http://bluehost.com>).. They provide apache on linux. I have ssh access and can run processes within certain constraints, but I can't configure daemons or things like that where I control what listens on port 80. Can someone suggest the options to using cppcms with such a setup? I'm allowed to install custom handlers for my apache instance I think.. do you pass the request to cppcms that way or is there some other canonical way to use apache front end. thanks, Kape |